com.ibm.cics.server
Class CicsConditionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.cics.server.CicsException
                    |
                    +--com.ibm.cics.server.CicsConditionException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CicsResponseConditionException, DuplicateKeyException, DuplicateRecordException, EndOfFileException, FileDisabledException, FileNotFoundException, InvalidProgramIdException, InvalidQueueIdException, InvalidTerminalIdException, ISCInvalidRequestException, ItemErrorException, NoSpaceException, NotAllocatedException, NotAuthorisedException, NotOpenException, QueueBusyException, QueueZeroException, RecordNotFoundException, RolledBackException, TerminalException

public class CicsConditionException
extends CicsException

Class that provides a Java class which is used as an exception corresponding to a CICS condition. The class is public to allow application programmers to catch any CICS exception without having a long list of catch clauses. This is not really good coding style if you really need to know the individual exception but it is useful in situations where the particular exception is irrelevant.

See Also:
Serialized Form

Method Summary
 int getRESP2()
          Return the RESP2 value for the CICS Condition represented by the CicsConditionException.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getRESP2

public int getRESP2()
Return the RESP2 value for the CICS Condition represented by the CicsConditionException.

The RESP2 contains more detailed information that may help explain why a particular CicsConditionException occurred. This field contains meaningful values, as documented in the CICS APRM for each command to which it applies. For requests to remote files, RESP2 contains zeros.

Returns:
RESP2 value.