|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.resource.ResourceException
javax.resource.spi.UnavailableException
public class UnavailableException
Thrown when a service is unavailable
| Constructor Summary | |
|---|---|
UnavailableException()
Create an unavailable exception. |
|
UnavailableException(String reason)
Create an unavailable exception with a reason. |
|
UnavailableException(String reason,
String errorCode)
Create an unavailable exception with a reason and an errorCode. |
|
UnavailableException(String reason,
Throwable throwable)
Create an unavailable exception with a reason and an error. |
|
UnavailableException(Throwable throwable)
Create an unavailable exception with an error. |
|
| Method Summary |
|---|
| Methods inherited from class javax.resource.ResourceException |
|---|
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, 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 UnavailableException()
public UnavailableException(String reason)
reason - the reason
public UnavailableException(String reason,
String errorCode)
reason - the reasonerrorCode - the error code
public UnavailableException(String reason,
Throwable throwable)
reason - the reasonthrowable - the errorpublic UnavailableException(Throwable throwable)
throwable - the error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||