org.ow2.petals.component.framework.api.exception
Class FaultException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.ow2.petals.component.framework.api.exception.FaultException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DocumentException, SOAP11FaultClientException, SOAP11FaultServerException
public class FaultException
- extends Exception
All exceptions based on this exception will be transform in a SOAP Fault
according to the following rules:
- the fault code is set with the value returned by
getFaultCode(),
- the fault string is set with the value returned by
Throwable.getMessage(),
- the fault actor is set with the value returned by
getFaultActor(),
- the detail is set with the exception stack trace.
- Since:
- 1.0
- Author:
- Christophe DENEUX - Capgemini Sud
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
FaultException
public FaultException(QName faultCode,
String faultString,
URI faultActor)
FaultException
public FaultException(QName faultCode,
String faultString,
URI faultActor,
Throwable cause)
getFaultCode
public QName getFaultCode()
getFaultActor
public URI getFaultActor()
Copyright © 2005-2012 Petals Link (EBM Websourcing). All Rights Reserved.