|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.resource.ResourceException
commonj.connector.runtime.FaultException
public class FaultException
The FaultException represents a fault or a data related error that occured during execution of the interaction through the resource adapter and should be thrown from the execute method of the Interaction if such a condition is detected.
Constructor Summary | |
---|---|
FaultException()
Default constructor |
|
FaultException(String message)
Constructor with message |
|
FaultException(String message,
String errorCode)
Constructor with message and errorCode. |
|
FaultException(String message,
Throwable cause)
Constructor with message and cause exception |
|
FaultException(Throwable cause)
The constructor with cause exception |
Method Summary |
---|
Methods inherited from class javax.resource.ResourceException |
---|
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException |
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 |
---|
public FaultException()
Exception.Exception()
public FaultException(String message)
message
- The exception messageException.Exception(java.lang.String)
public FaultException(String message, String errorCode)
message
- the exception message.errorCode
- the errorCode.public FaultException(String message, Throwable cause)
message
- The exception messagecause
- The cause exceptionException.Exception(java.lang.String, java.lang.Throwable)
public FaultException(Throwable cause)
cause
- The cause exceptionException.Exception(java.lang.Throwable)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |