Provides the exception-handling framework for the Content Engine. Content Engine exceptions are enumerated in the ExceptionCode class. All unchecked exceptions are EngineRuntimeException instances, and return an ExceptionCode object. The ErrorRecord and ErrorStack classes support exception chain handling.

ToggleClasses

Type ClassDescription
Public classEngineRuntimeException
Used for all unchecked exceptions. The exceptions are defined as ExceptionCode objects. EngineRuntimeException supports use of an error stack, as well as exception chaining (constructing a chain of exceptions by wrapping additional exceptions). You can use GetAsErrorStack to do a stack trace of either the error stack or the exception chain.
Public classErrorLoggingLevel
Determines whether an exception is to be logged. The exception is logged on the Content Engine server.
Public classErrorRecord
Represents a single exception that has occurred on the server.

When the server returns an exception to the client it converts each chained exception into an ErrorRecord object and places it in an error stack (ErrorStack).

Public classErrorStack
Contains a collection of ErrorRecord instances returned by the server. Each instance in the collection corresponds to an exception that was chained and returned by the server. Chained exceptions are placed in an ErrorStack object and stored in an EngineRuntimeException object.
Public classExceptionCode
Enumerates unchecked exception messages. Methods are supplied for the localization of these messages. This class cannot be instantiated.