public class RegistryException extends JAXRException
cause
STATUS_FAILURE, STATUS_SUCCESS, STATUS_UNAVAILABLE, STATUS_WARNING
Constructor and Description |
---|
RegistryException()
Constructs a
JAXRException object with no
reason or embedded Throwable. |
RegistryException(java.lang.String reason)
Constructs a
JAXRException object with the given
String as the reason for the exception being thrown. |
RegistryException(java.lang.String reason,
java.lang.Throwable cause)
Constructs a
JAXRException object with the given
String as the reason for the exception being thrown
and the given Throwable object as an embedded
Throwable. |
RegistryException(java.lang.Throwable cause)
Constructs a
JAXRException object initialized
with the given Throwable object. |
Modifier and Type | Method and Description |
---|---|
Key |
getErrorObjectKey()
Gets the Key to the first object that encountered an error in the registry.
|
void |
setErrorObjectKey(Key key)
Sets the Key to the first object that encountered an error in the registry.
|
getCause, getMessage, getRequestId, getStatus, initCause, isAvailable
public RegistryException()
JAXRException
object with no
reason or embedded Throwable.public RegistryException(java.lang.String reason)
JAXRException
object with the given
String
as the reason for the exception being thrown.reason
- a description of what caused the exceptionpublic RegistryException(java.lang.String reason, java.lang.Throwable cause)
JAXRException
object with the given
String
as the reason for the exception being thrown
and the given Throwable
object as an embedded
Throwable.reason
- a description of what caused the exceptioncause
- a Throwable
object that is to
be embedded in this JAXRException
objectpublic RegistryException(java.lang.Throwable cause)
JAXRException
object initialized
with the given Throwable
object.cause
- the Throwable that caused this Exceptionpublic Key getErrorObjectKey() throws JAXRException
JAXRException
public void setErrorObjectKey(Key key) throws JAXRException
key
- the key to the first object in errorJAXRException