CICS® Transaction Gateway Programming Reference v1.1.0.0

com.ibm.ctg.epi
Class EPIException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.ctg.epi.EPIException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EPI3270Exception, EPIFieldException, EPIGatewayException, EPIMapException, EPIRequestException, EPIScreenException, EPISecurityException, EPITxnFailedException, TerminalException

public class EPIException
extends java.lang.Exception

This exception can be thrown by the EPI classes when an error occurs.

See Also:
Serialized Form

Constructor Summary
EPIException(java.lang.String msg)
          Constructs an EPIException with a message.
 
Method Summary
 int getErrorCode()
          Returns the error code for this exception.
 
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

EPIException

public EPIException(java.lang.String msg)
Constructs an EPIException with a message.

Parameters:
msg - a message
Method Detail

getErrorCode

public int getErrorCode()
Returns the error code for this exception.

Returns:
The error code

©Copyright IBM Corp. 1994, 2014
Legal