javax.xml.registry
Class JAXRException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.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
           
 
Fields inherited from interface javax.xml.registry.JAXRResponse (src)
STATUS_FAILURE, STATUS_SUCCESS, STATUS_UNAVAILABLE, STATUS_WARNING
 
Constructor Summary
JAXRException()
           
JAXRException(java.lang.String msg)
           
JAXRException(java.lang.String msg, java.lang.Throwable cause)
           
JAXRException(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
 

Field Detail

cause

protected java.lang.Throwable cause
Constructor Detail

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)
Method Detail

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