javax.xml.registry
Class JAXRException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.xml.registry.JAXRException
- All Implemented Interfaces:
- JAXRResponse (src) , java.io.Serializable
- Direct Known Subclasses:
- InvalidRequestException (src) , RegistryException (src) , UnexpectedObjectException (src) , UnsupportedCapabilityException (src)
- public class JAXRException
- extends java.lang.Exception
- implements JAXRResponse (src)
- See Also:
- Serialized Form
Field Summary |
protected java.lang.Throwable |
cause
|
Method Summary |
java.lang.String |
getRequestId()
|
int |
getStatus()
|
java.lang.Throwable |
initCause(java.lang.Throwable cause)
Initializes the cause of this throwable to the specified value. |
boolean |
isAvailable()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
cause
protected java.lang.Throwable cause
JAXRException
public JAXRException()
JAXRException
public JAXRException(java.lang.String msg)
JAXRException
public JAXRException(java.lang.String msg,
java.lang.Throwable cause)
JAXRException
public JAXRException(java.lang.Throwable cause)
getRequestId
public java.lang.String getRequestId()
- Specified by:
getRequestId
in interface JAXRResponse (src)
getStatus
public int getStatus()
- Specified by:
getStatus
in interface JAXRResponse (src)
isAvailable
public boolean isAvailable()
throws JAXRException (src)
- Specified by:
isAvailable
in interface JAXRResponse (src)
- Throws:
JAXRException (src)
initCause
public java.lang.Throwable initCause(java.lang.Throwable cause)
- Initializes the cause of this throwable to the specified value. (The
cause is the throwable that caused this throwable to get thrown.)
This method can be called at most once. It is generally called from
within the constructor, or immediately after creating the throwable. If
this throwable was created with JAXRException(Throwable) or
JAXRException(String,Throwable), this method cannot be called even once.
- Parameters:
cause
-
- Returns:
- this