|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.ibm.websphere.objectgrid.ObjectGridException com.ibm.websphere.objectgrid.plugins.LoaderException com.ibm.websphere.objectgrid.UnavailableServiceException
public class UnavailableServiceException
This exception is thrown when all servers are dead or when all services are unavailable even though servers are running.
Constructor Summary | |
---|---|
UnavailableServiceException()
Constructs a new UnavailableServiceException with null as its detail
message. |
|
UnavailableServiceException(String message)
Constructs a new UnavailableServiceException with the specified detail message. |
|
UnavailableServiceException(String message,
Throwable cause)
Constructs a new UnavailableServiceException with the specified detail message and cause. |
|
UnavailableServiceException(Throwable cause)
Constructs a new UnavailableServiceException with a specified cause. |
Method Summary | |
---|---|
int |
getReplicationGroup()
Returns the replication group identifier for this exception. |
void |
setReplicationGroup(int replicationGroup)
Sets the replication group identifier for this exception. |
Methods inherited from class com.ibm.websphere.objectgrid.ObjectGridException |
---|
getCause, initCause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UnavailableServiceException()
null
as its detail
message. The cause is not initialized, and may subsequently be initialized
by a call to the initCause
method.
ObjectGridException.initCause(Throwable)
public UnavailableServiceException(String message)
initCause
method.
message
- the detail message. The detail message is saved for later
retrieval by the getMessage
method.ObjectGridException.initCause(Throwable)
,
Throwable.getMessage()
public UnavailableServiceException(String message, Throwable cause)
Note that the detail message associated with cause
is
not automatically incorporated in this UnavailableServiceException's detail
message.
message
- the detail message (which is saved for later retrieval by the
getMessage
method).cause
- the cause (which is saved for later retrieval by the
getCause
method). (Anull
value is
permitted, and indicates that the cause is nonexistent or
unknown).ObjectGridException.getCause()
,
Throwable.getMessage()
public UnavailableServiceException(Throwable cause)
(cause==null ? null : cause.toString())
is used (which typically contains the class and detail message of cause
).
This constructor is useful for UnavailableServiceExceptions that are little more
than wrappers for other throwables.
cause
- is the exception that caused this exception to be thrown,
which is saved for later retrieval by the getCause()
method.
A null
value is permitted and indicates that the cause
is nonexistent or is unknown.ObjectGridException.getCause()
Method Detail |
---|
public int getReplicationGroup()
setReplicationGroup(int)
method of this class or 0
if the
setReplicationGroup
method was not previously called for this object.setReplicationGroup(int)
public void setReplicationGroup(int replicationGroup)
replicationGroup
- The replication group identifier
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |