Exception

Namespace: TSUI.Exceptions
Extends: None
Implements: IException
Exported: Yes
JSDoc status: Complete

Associated source files:

Description

A generic exception implementation. All exception implementations should derive from this.

Constructor

constructor(public Message: string = "", public Trace: string = "", public InnerException: IException = null)
Creates a new Exception instance with specified information.
Note: Also automatically logs the exception in the browser log.
  • Message : The message to describe the exception.
  • Trace : The origin of the
  • InnerException : The inner exception which lead to this exception, if any.

Properties

Message: string;
The message to describe the exception.
Trace: string;
The origin of the exception.
InnerException: IException;
The inner exception which lead to this exception, if any.

Methods

toString(): string;
Converts the exception to a human-readable string representation.

Last edited Jun 19, 2013 at 7:50 PM by EdwardNutting, version 3

Comments

No comments yet.