org.apache.qpid.management.wsdm.common
Class QManFault

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.muse.ws.addressing.soap.SoapFault
              extended by org.apache.muse.ws.resource.basefaults.BaseFault
                  extended by org.apache.qpid.management.wsdm.common.QManFault
All Implemented Interfaces:
Serializable, org.apache.muse.util.xml.XmlSerializable
Direct Known Subclasses:
EntityInstanceNotFoundFault, MethodInvocationFault, NoSuchAttributeFault, UnableToConnectWithBrokerFault

public class QManFault
extends org.apache.muse.ws.resource.basefaults.BaseFault

Base class for QMan thrown faults. This should be thrown to denote a situation where a not-well cause could be determined.

See Also:
Serialized Form

Constructor Summary
QManFault(org.apache.muse.ws.addressing.EndpointReference endpointReference, Exception cause)
          Builds a new exception with the given endpoint reference and the exception cause.
QManFault(org.apache.muse.ws.addressing.EndpointReference endpointReference, QName qname, String message)
          Builds a new exception with the given endpoint reference, qname and detail message.
 
Method Summary
 
Methods inherited from class org.apache.muse.ws.resource.basefaults.BaseFault
getDescription, getDetail, getErrorCode, getErrorCodeDialect, getName, getOriginReference, getTimestamp, setErrorCode, setOriginReference
 
Methods inherited from class org.apache.muse.ws.addressing.soap.SoapFault
getCode, getMessage, getNodeURI, getReason, getRoleURI, getSubCode, setCode, setDetail, setNodeURI, setReason, setRoleURI, setSubCode, toXML, toXML
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QManFault

public QManFault(org.apache.muse.ws.addressing.EndpointReference endpointReference,
                 Exception cause)
Builds a new exception with the given endpoint reference and the exception cause.

Parameters:
endpointReference - the endpoint reference.
cause - the exception cause.

QManFault

public QManFault(org.apache.muse.ws.addressing.EndpointReference endpointReference,
                 QName qname,
                 String message)
Builds a new exception with the given endpoint reference, qname and detail message.

Parameters:
endpointReference - the endpoint reference.
qname - the qname of this exception.
message - the detail message of this exception.


Licensed to the Apache Software Foundation