IccException constructor
IccException (Type exceptionType, IccBase::ClassType
classType, const char* className,
const char* methodName, IccMessage*
message, IccBase* object = 0,
unsigned short exceptionNum = 0)
- exceptionType
- An enumeration, defined in this class, that indicates the type of the exception
- classType
- An enumeration, defined in this class, that indicates from which type of class the exception was thrown
- className
- The name of the class from which the exception was thrown
- methodName
- The name of the method from which the exception was thrown
- message
- A pointer to the IccMessage object that contains information about why the exception was created.
- object
- A pointer to the object that threw the exception
- exceptionNum
- The unique exception number.
Note: When the IccException object is created it takes ownership of the IccMessage given on the
constructor. When the IccException is deleted, the IccMessage object is deleted automatically by the
IccException destructor. Therefore, do not delete the IccMessage object before deleting the
IccException object.