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

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.MethodInvocationFault
All Implemented Interfaces:
Serializable, org.apache.muse.util.xml.XmlSerializable

public class MethodInvocationFault
extends QManFault

This is the exception encapsulating the fault that will be thrown in case of method invocation failure.

See Also:
Serialized Form

Constructor Summary
MethodInvocationFault(org.apache.muse.ws.addressing.EndpointReference endpointReference, String methodName, String message, long returnCode)
          Builds a new exception with the given endpoint reference and method invocation exception.
 
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

MethodInvocationFault

public MethodInvocationFault(org.apache.muse.ws.addressing.EndpointReference endpointReference,
                             String methodName,
                             String message,
                             long returnCode)
Builds a new exception with the given endpoint reference and method invocation exception. This constructor will be used when the invocation thrown the MethodInvocationException.

Parameters:
endpointReference - the endpoint reference.
methodName - the name of the method.
message - the explanatio message.
returnCode - the a mnemonic code associated with the failure.
Method Detail

getDetail

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


Licensed to the Apache Software Foundation