javax.xml.registry
Class JAXRException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.xml.registry.JAXRException
All Implemented Interfaces:
java.io.Serializable, JAXRResponse
Direct Known Subclasses:
InvalidRequestException, RegistryException, UnexpectedObjectException, UnsupportedCapabilityException

public class JAXRException
extends java.lang.Exception
implements JAXRResponse

Signals that a JAXR exception has occurred. Note that the Exception chaining here is different from JDK1.4

Version:
$Revision: 467553 $ $Date: 2006-10-25 06:01:51 +0200 (Wed, 25 Oct 2006) $
See Also:
Serialized Form

Field Summary
protected  java.lang.Throwable cause
           
 
Fields inherited from interface javax.xml.registry.JAXRResponse
STATUS_FAILURE, STATUS_SUCCESS, STATUS_UNAVAILABLE, STATUS_WARNING
 
Constructor Summary
JAXRException()
           
JAXRException(java.lang.String message)
           
JAXRException(java.lang.String message, java.lang.Throwable cause)
           
JAXRException(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.Throwable getCause()
           
 java.lang.String getMessage()
           
 java.lang.String getRequestId()
           
 int getStatus()
           
 java.lang.Throwable initCause(java.lang.Throwable cause)
           
 boolean isAvailable()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, 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 message)

JAXRException

public JAXRException(java.lang.Throwable cause)

JAXRException

public JAXRException(java.lang.String message,
                     java.lang.Throwable cause)
Method Detail

initCause

public java.lang.Throwable initCause(java.lang.Throwable cause)
Overrides:
initCause in class java.lang.Throwable

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getCause

public java.lang.Throwable getCause()
Overrides:
getCause in class java.lang.Throwable

getRequestId

public java.lang.String getRequestId()
Specified by:
getRequestId in interface JAXRResponse

getStatus

public int getStatus()
Specified by:
getStatus in interface JAXRResponse

isAvailable

public boolean isAvailable()
                    throws JAXRException
Specified by:
isAvailable in interface JAXRResponse
Throws:
JAXRException


Copyright © 2009. All Rights Reserved.