tmozIException Interface Reference

Exception. More...

List of all members.

Public Member Functions

void add (in string fileName, in long line, in string description)
 Add new error description.

Public Attributes

readonly attribute AString description
 Formatted error description.


Detailed Description

Exception.

Object is used as an exception object and to store error description.


Member Function Documentation

void add ( in string  fileName,
in long  line,
in string  description 
)

Add new error description.

Error description consist from three items: file name, line number and description.

Parameters:
fileName Name of source file
line Line number in the source file. Can be 0 if not known
description Error description. It should be descriptive enough that it is possible exactly locate exception in the code.


Member Data Documentation

readonly attribute AString description

Formatted error description.

This is read-only exception description. This string contain list of error (each on new line) accumulated in the exception object.


Generated on Thu Aug 27 12:37:06 2009 for Tahiti XPCOM API