Public methods

className

const char* className() const

Returns the name of the class responsible for throwing this exception.

classType

IccBase::ClassType classType() const

Returns an enumeration, described under ClassType in IccBase class, that indicates the type of class which threw this exception.

message

IccMessage* message() const

Returns a pointer to an IccMessage object that contains information on any message associated with this exception.

methodName

const char* methodName() const

Returns the name of the method responsible for throwing this exception.

number

unsigned short number() const

Returns the unique exception number.

This is a useful diagnostic for IBM® service. The number uniquely identifies from where in the source code the exception was thrown.

summary

const char* summary()

Returns a string containing a summary of the exception. This combines the className, methodName, number, Type, and IccMessage::text methods into the following form:

CICS exception summary: 094 IccTempStore::readNextItem type=CICSCondition
 

type

Type type() const

Returns an enumeration, defined in this class, that indicates the type of exception.

typeText

const char* typeText() const

Returns a string representation of the exception type, for example, "objectCreationError", "invalidArgument".

[[ Contents Previous Page | Next Page Index ]]