com.ibm.cics.server
Class CicsResponseConditionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.cics.server.CicsException
              extended by com.ibm.cics.server.CicsConditionException
                  extended by com.ibm.cics.server.CicsResponseConditionException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AllocationErrorException, CCErrorException, ChangedException, DestinationSelectionErrorException, DestinationStatusChangeException, DumpOpenErrorException, EndException, EndOfChainIndicatorException, EndOfDataException, EndOfDataSetIndicatorException, EndOfFileIndicatorException, EndOfInputIndicatorException, ErrorException, FunctionErrorException, InboundFMHException, InboundSignalException, InvalidControlBlockIdException, InvalidDirectionException, InvalidErrorTerminalException, InvalidExitRequestException, InvalidJournalIdException, InvalidLDCException, InvalidMapSizeException, InvalidNodeIdException, InvalidPartitionException, InvalidPartitionSetException, InvalidREQIDPrefixException, InvalidRequestException, InvalidRetrieveOptionException, InvalidSystemIdException, InvalidTaskIdException, InvalidTransactionIdException, InvalidTSRequestException, InvalidUserIdException, IOErrorException, LengthErrorException, LoadingException, LockedException, LogicException, MapErrorException, MapFailureException, MapPageOverflowException, NameErrorException, NoJournalBufferSpaceException, NoPassbookReadException, NoPassbookWriteException, NoSpoolException, NoStorageException, NotValidException, PartitionFailureException, ReadAttentionException, RecordBusyException, ResourceUnavailableException, ReturnedPageException, RouteFailedException, RoutePartiallyFailedException, SessionBusyException, SessionErrorException, SpoolBusyException, SpoolErrorException, StartFailedException, STRELERRException, SuppressedException, SymbolErrorException, SystemBusyException, TCIDERRException, TemplateErrorException, TimedOutException, TimeExpiredException, TSIOErrorException, UnexpectedInformationException, WriteBreakException, WrongStatusException

public class CicsResponseConditionException
extends CicsConditionException

This class provides the base for those exceptions that correspond to CICS conditions for which a response code (in the EIBRCODE field of the EIB) is defined.

Version:
1.2
Author:
John Colgrave
See Also:
Serialized Form

Method Summary
 byte[] getResponseCode()
          Return the response code value for the CICS Condition represented by the CicsResponseConditionException.
 
Methods inherited from class com.ibm.cics.server.CicsConditionException
getRESP2
 
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
 

Method Detail

getResponseCode

public byte[] getResponseCode()
Return the response code value for the CICS Condition represented by the CicsResponseConditionException.

The response code returned is the value of EIBRCODE, a six byte field which contains the CICS response code returned after the function requested by the last CICS command to be issued by the task has been completed.

For new commands where EIBRESP and EIBRESP2 are the strategic means of interrogating the resulting condition of an executed command, byte 3 of EIBRCODE has the same value as EIBRESP. Any further information is in EIBRESP2 rather than EIBRCODE. For a normal response, this field contains HEX zeros (6 X'00').

Returns:
response code value.
See Also:
CicsConditionException.getRESP2()