com.sun.emp.cci.eci
Class ECITransactionAbendException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--javax.resource.ResourceException
|
+--com.sun.emp.cci.eci.ECITransactionAbendException
- All Implemented Interfaces:
- Serializable
- public class ECITransactionAbendException
- extends ResourceException
An exception generated by an ECI Transaction abending.
Abend codes are the server abend codes. These are 4 characters in length.
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ECITransactionAbendException
public ECITransactionAbendException(String message,
String errorCode,
String abendCode)
- Constructor.
The message produced by this exception is a concatenation of the
original message with this abend code.
For example,
If the constructor is called with
foo = new ECITransactionAbendException( "A message", "-3", "AEI0" );
then the result from getMessage()
will be
A message [AEI0]
- Parameters:
message
- The base message.errorCode
- The ECI error code.abendCode
- The ECI Abend code.
getAbendCode
public String getAbendCode()
- Get the abend code.
- Returns:
- The abend code.