public class UnavailableException extends ResourceException
Constructor and Description |
---|
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.
|
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnavailableException()
public UnavailableException(String reason)
reason
- the reasonpublic UnavailableException(String reason, String errorCode)
reason
- the reasonerrorCode
- the error codepublic UnavailableException(String reason, Throwable throwable)
reason
- the reasonthrowable
- the errorpublic UnavailableException(Throwable throwable)
throwable
- the errorCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.