CMSException exception
Defines the exception thrown by the methods and properties in the Arbortext Object Model (AOM) that work with content management systems (CMS). CMSException objects contain an error code, an error message, and an optional detailed message.
The code field stores one of the CMSExceptionCode constants to indicate the error condition. Arbortext defines the error codes.
The message field contains a human-readable description of the error. These messages should be localized.
The detail field contains an in-depth description of the error that may be written to a log. The description could be something like a Java stack trace or a detailed error description provided by the CMS. Detailed error descriptions do not need to be localized.
Objects that implement the CMSException interface include the following properties:
unsigned shortcode
Stringmessage
Stringdetail