javax.slee.management
Class PeerUnavailableException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--javax.slee.management.PeerUnavailableException
- All Implemented Interfaces:
- java.io.Serializable
- public class PeerUnavailableException
- extends java.lang.Exception
This exception is thrown by the SleeProviderFactory
to indicate that
a SleeProvider
peer class could not be instantiated using the
class name provided.
Possible reasons that the peer class could not be instantiated include:
- the given class name could not be found in the class path
- the class did not have a public no-arg constructor
- the class did not implement the
SleeProvider
interface
- See Also:
- Serialized Form
Constructor Summary |
PeerUnavailableException(java.lang.String message)
Create a PeerUnavailableException with a detail message. |
PeerUnavailableException(java.lang.String message,
java.lang.Throwable cause)
Create a PeerUnavailableException with a detail message and cause. |
Method Summary |
java.lang.Throwable |
getCause()
Get the cause for this exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PeerUnavailableException
public PeerUnavailableException(java.lang.String message)
- Create a
PeerUnavailableException
with a detail message.
- Parameters:
message
- the detail message.
PeerUnavailableException
public PeerUnavailableException(java.lang.String message,
java.lang.Throwable cause)
- Create a
PeerUnavailableException
with a detail message and cause.
- Parameters:
message
- the detail message.cause
- the reason this exception was thrown.
getCause
public java.lang.Throwable getCause()
- Get the cause for this exception.
- Returns:
- the cause.