com.tibco.amf.platform.runtime.extension.exception
Class SOAPException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.osoa.sca.ServiceRuntimeException
                  extended by com.tibco.amf.platform.runtime.extension.exception.SOAPException
All Implemented Interfaces:
java.io.Serializable

public class SOAPException
extends org.osoa.sca.ServiceRuntimeException

Exception used to indicate that a runtime exception occurred during the invocation of and external SOAP service.

See Also:
Serialized Form

Field Summary
protected  SOAPCode code
           
protected  SOAPDetail<?> detail
           
protected  java.net.URI node
           
protected  java.lang.String[] reason
           
protected  java.net.URI role
           
 
Constructor Summary
SOAPException(SOAPCode code, java.lang.String[] reason, java.net.URI node, java.net.URI role, SOAPDetail<?> detail)
          Constructs a new SOAPException.
SOAPException(java.lang.String code, java.lang.String reason, java.net.URI node, java.net.URI role, SOAPDetail<?> detail)
          Constructs a new SOAPException.
 
Method Summary
 SOAPCode getCode()
          Returns the code.
<T> SOAPDetail<T>
getDetail(java.lang.Class<T> targetType)
          Returns the detail.
<T> SOAPDetail<T>
getDetail(java.lang.reflect.Type targetType)
          Returns the detail.
 java.net.URI getNode()
          Returns the node.
 java.lang.String[] getReason()
          Returns the reason.
 java.net.URI getRole()
          Returns the role.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

detail

protected SOAPDetail<?> detail

code

protected SOAPCode code

reason

protected java.lang.String[] reason

node

protected java.net.URI node

role

protected java.net.URI role
Constructor Detail

SOAPException

public SOAPException(SOAPCode code,
                     java.lang.String[] reason,
                     java.net.URI node,
                     java.net.URI role,
                     SOAPDetail<?> detail)
Constructs a new SOAPException.

Parameters:
code - code for the SOAP exception
reason - reason for the SOAP exception
node - node for the SOAP exception
role - role for the SOAP exception
detailType - type for the detail
detail - detail for the SOAP exception
version - version for the SOAP exception

SOAPException

public SOAPException(java.lang.String code,
                     java.lang.String reason,
                     java.net.URI node,
                     java.net.URI role,
                     SOAPDetail<?> detail)
Constructs a new SOAPException.

Parameters:
code - code for the SOAP exception
reason - reason for the SOAP exception
node - node for the SOAP exception
role - role for the SOAP exception
detailType - type for the detail
detail - detail for the SOAP exception
version - version for the SOAP exception
Method Detail

getDetail

public <T> SOAPDetail<T> getDetail(java.lang.Class<T> targetType)
Returns the detail.

Returns:
the detail

getDetail

public <T> SOAPDetail<T> getDetail(java.lang.reflect.Type targetType)
Returns the detail.

Returns:
the detail

getCode

public SOAPCode getCode()
Returns the code.

Returns:
the code

getReason

public java.lang.String[] getReason()
Returns the reason.

Returns:
the reason

getNode

public java.net.URI getNode()
Returns the node.

Returns:
the node

getRole

public java.net.URI getRole()
Returns the role.

Returns:
the role

toString

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


Copyright © 2010 TIBCO Software Inc. All Rights Reserved.