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(String reason)
Constructs a
JAXRException object with the given
String as the reason for the exception being thrown. |
RegistryException(String reason,
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(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
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RegistryException()
JAXRException
object with no
reason or embedded Throwable.public RegistryException(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(String reason, 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(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
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.