public class RegistryException extends JAXRException
causeSTATUS_FAILURE, STATUS_SUCCESS, STATUS_UNAVAILABLE, STATUS_WARNING| Constructor and Description | 
|---|
| RegistryException()Constructs a  JAXRExceptionobject with no
 reason or embedded Throwable. | 
| RegistryException(String reason)Constructs a  JAXRExceptionobject with the givenStringas the reason for the exception being thrown. | 
| RegistryException(String reason,
                 Throwable cause)Constructs a  JAXRExceptionobject with the givenStringas the reason for the exception being thrown
 and the givenThrowableobject as an embedded
 Throwable. | 
| RegistryException(Throwable cause)Constructs a  JAXRExceptionobject initialized
 with the givenThrowableobject. | 
| 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, isAvailableaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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
JAXRExceptionpublic void setErrorObjectKey(Key key) throws JAXRException
key - the key to the first object in errorJAXRExceptionCopyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.