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

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
                      extended by org.apache.qpid.management.wsdm.common.NoSuchAttributeFault
All Implemented Interfaces:
Serializable, org.apache.muse.util.xml.XmlSerializable

public class NoSuchAttributeFault
extends QManFault

This is the exception encapsulating the fault that will be thrown when a requested attribute is not found on the target ws resource.

See Also:
Serialized Form

Constructor Summary
NoSuchAttributeFault(org.apache.muse.ws.addressing.EndpointReference endpointReference, String attributeName)
          Builds a new exception with the given endpoint reference, JMX object name and attribute that hasn't been found.
 
Method Summary
 Element getDetail()
           
 
Methods inherited from class org.apache.muse.ws.resource.basefaults.BaseFault
getDescription, 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

NoSuchAttributeFault

public NoSuchAttributeFault(org.apache.muse.ws.addressing.EndpointReference endpointReference,
                            String attributeName)
Builds a new exception with the given endpoint reference, JMX object name and attribute that hasn't been found.

Parameters:
endpointReference - the endpoint reference.
attributeName - the name of the attribute that hasn't been found.
Method Detail

getDetail

public Element getDetail()
Overrides:
getDetail in class org.apache.muse.ws.resource.basefaults.BaseFault


Licensed to the Apache Software Foundation