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.
Classes
Type | Class | Description |
---|---|---|
![]() | EngineRuntimeException |
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.
|
![]() | ErrorLoggingLevel |
Determines whether an exception is to be logged. The exception is logged on the
Content Engine server.
|
![]() | ErrorRecord |
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). |
![]() | ErrorStack |
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.
|
![]() | ExceptionCode |
Enumerates unchecked exception messages. Methods are supplied for the localization of
these messages. This class cannot be instantiated.
|