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.


Constructor Summary
ECITransactionAbendException(String message, String errorCode, String abendCode)
          Constructor.
 
Method Summary
 String getAbendCode()
          Get the abend code.
 
Methods inherited from class javax.resource.ResourceException
getErrorCode, getLinkedException, setLinkedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

getAbendCode

public String getAbendCode()
Get the abend code.

Returns:
The abend code.