|
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.Objectjava.lang.Throwable
java.lang.Exception
com.ibm.websphere.objectgrid.ObjectGridException
com.ibm.websphere.objectgrid.osgi.ServiceNotAvailableException
public class ServiceNotAvailableException
A ServiceNotAvailableException indicates one or more specific service rankings are not available.
Users can use getUnavailableServiceRankings()
to get the unavailable
service rankings.
Constructor Summary | |
---|---|
ServiceNotAvailableException(String message,
Map<String,Integer> unavailableRankings)
Constructs a new ServiceNotAvailableException with the specified detail message. |
|
ServiceNotAvailableException(String message,
String service,
Integer ranking)
Constructs a new ServiceNotAvailableException with the specified detail message. |
|
ServiceNotAvailableException(String message,
Throwable cause,
Map<String,Integer> serviceRankings)
Constructs a new ServiceNotAvailableException with the specified detail message and cause. |
|
ServiceNotAvailableException(String message,
Throwable cause,
String service,
Integer ranking)
Constructs a new ServiceNotAvailableException with the specified detail message and cause. |
Method Summary | |
---|---|
Map<String,Integer> |
getUnavailableServiceRankings()
|
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 ServiceNotAvailableException(String message, String service, Integer ranking)
initCause
method.
message
- the detail message. The detail message is saved for later
retrieval by the getMessage
method.service
- the OSGi service nameranking
- the unavailable OSGi service rankingObjectGridException.initCause(Throwable)
,
Throwable.getMessage()
public ServiceNotAvailableException(String message, Map<String,Integer> unavailableRankings)
initCause
method.
message
- the detail message. The detail message is saved for later
retrieval by the getMessage
method.unavailableRankings
- the service rankings that are not available. The key of the map is the service name,
and the value is the service ranking.ObjectGridException.initCause(Throwable)
,
Throwable.getMessage()
public ServiceNotAvailableException(String message, Throwable cause, String service, Integer ranking)
Note that the detail message associated with cause
is
not automatically incorporated in this ServiceNotAvailableException'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).service
- the OSGi service nameranking
- the unavailable OSGi service rankingObjectGridException.getCause()
,
Throwable.getMessage()
public ServiceNotAvailableException(String message, Throwable cause, Map<String,Integer> serviceRankings)
Note that the detail message associated with cause
is
not automatically incorporated in this ServiceNotAvailableException'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).serviceRankings
- the service rankings that are not available. The key of the map is the service name,
and the value is the service ranking.ObjectGridException.getCause()
,
Throwable.getMessage()
Method Detail |
---|
public Map<String,Integer> getUnavailableServiceRankings()
|
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 |