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:
Serializable, JAXRResponse
Direct Known Subclasses:
InvalidRequestException, RegistryException, UnexpectedObjectException, UnsupportedCapabilityException

public class JAXRException
extends Exception
implements JAXRResponse

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

Version:
$Revision$ $Date$
See Also:
Serialized Form

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

JAXRException

public JAXRException()

JAXRException

public JAXRException(String message)

JAXRException

public JAXRException(Throwable cause)

JAXRException

public JAXRException(String message,
                     Throwable cause)
Method Detail

initCause

public Throwable initCause(Throwable cause)
Overrides:
initCause in class Throwable

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getCause

public Throwable getCause()
Overrides:
getCause in class Throwable

getRequestId

public 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 © 2006 Apache Software Foundation. All Rights Reserved.