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

  Class Description
Public class 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.
Public class ErrorLoggingLevel Determines whether an exception is to be logged. The exception is logged on the Content Engine server. This is a static class (Module in Visual Basic)static classModule and so cannot be inherited or instantiated.
Public class 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).

Public class 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.
Public class ExceptionCode Enumerates unchecked exception messages. Methods are supplied for the localization of these messages. This class cannot be instantiated.