JCICS exception mapping

In Java™, a condition returned by a CICS® command is mapped into a Java exception.

Table 1. Java exception mapping
CICS condition Java Exception
ALLOCERR AllocationErrorException
CBIDERR InvalidControlBlockIdException
CCSIDERR CCSIDErrorException
CHANNELERR ChannelErrorException
CONTAINERERR ContainerErrorException
DISABLED
FileDisabledException
ResourceDisabledException
DSIDERR FileNotFoundException
DSSTAT DestinationStatusChangeException
DUPKEY DuplicateKeyException
DUPREC DuplicateRecordException
END EndException
ENDDATA EndOfDataException
ENDFILE EndOfFileException
ENDINPT EndOfInputIndicatorException
ENQBUSY ResourceUnavailableException
ENVDEFERR InvalidRetrieveOptionException
EOC EndOfChainIndicatorException
EODS EndOfDataSetIndicatorException
EOF EndOfFileIndicatorException
ERROR ErrorException
EXPIRED TimeExpiredException
FILENOTFOUND FileNotFoundException
FUNCERR FunctionErrorException
IGREQID InvalidREQIDPrefixException
IGREQCD InvalidDirectionException
ILLOGIC LogicException
INBFMH InboundFMHException
INVERRTERM InvalidErrorTerminalException
INVEXITREQ InvalidExitRequestException
INVLDC InvalidLDCException
INVMPSZ InvalidMapSizeException
INVPARTNSET InvalidPartitionSetException
INVPARTN InvalidPartitionException
INVREQ InvalidRequestException
INVTSREQ InvalidTSRequestException
IOERR IOErrorException
ISCINVREQ ISCInvalidRequestException
ITEMERR ItemErrorException
JIDERR InvalidJournalIdException
LENGERR LengthErrorException
MAPERROR MapErrorException
MAPFAIL MapFailureException
NAMEERROR NameErrorException
NODEIDERR InvalidNodeIdException
NOJBUFSP NoJournalBufferSpaceException
NONVAL NotValidException
NOPASSBKRD NoPassbookReadException
NOPASSBKWR NoPassbookWriteException
NOSPACE NoSpaceException
NOSPOOL NoSpoolException
NOSTART StartFailedException
NOSTG NoStorageException
NOTALLOC NotAllocatedException
NOTAUTH NotAuthorisedException
NOTFINISHED NotFinishedException
NOTFND
RecordNotFoundException
NotFoundException
NOTOPEN NotOpenException
OPENERR DumpOpenErrorException
OVERFLOW MapPageOverflowException
PARTNFAIL PartitionFailureException
PGMIDERR InvalidProgramIdException
QBUSY QueueBusyException
QIDERR InvalidQueueIdException
QZERO QueueZeroException
RDATT ReadAttentionException
RETPAGE ReturnedPageException
ROLLEDBACK RolledBackException
RTEFAIL RouteFailedException
RTESOME RoutePartiallyFailedException
SELNERR DestinationSelectionErrorException
SESSBUSY SessionBusyException
SESSIONERR SessionErrorException
SIGNAL InboundSignalException
SPOLBUSY SpoolBusyException
SPOLERR SpoolErrorException
STRELERR STRELERRException
SUPPRESSED SuppressedException
SYMBOLERR SymbolErrorException
SYSBUSY SystemBusyException
SYSIDERR InvalidSystemIdException
TASKIDERR InvalidTaskIdException
TCIDERR TCIDERRException
TEMPLATERR TemplateErrorException
TERMERR TerminalException
TERMIDERR InvalidTerminalIdException
TOKENERR TokenErrorException
TRANSIDERR InvalidTransactionIdException
TSIOERR TSIOErrorException
UNEXPIN UnexpectedInformationException
USERIDERR InvalidUserIdException
WRBRK WriteBreakException
WRONGSTAT WrongStatusException
Note: NonHttpDataException is thrown by getContent() if the CICS command WEB RECEIVE indicates that the data received is a non-HTTP message (by setting TYPE=HTTPNO).