Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Attributes
nsBaseDOMException Class Reference

#include <nsDOMException.h>

Inheritance diagram for nsBaseDOMException:
Inheritance graph
[legend]
Collaboration diagram for nsBaseDOMException:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsBaseDOMException ()
virtual ~nsBaseDOMException ()
NS_DECL_ISUPPORTS
NS_DECL_NSIEXCEPTION
NS_IMETHOD 
Init (nsresult aNSResult, const char *aName, const char *aMessage, nsIException *aDefaultException)
string toString ()

Public Attributes

readonly attribute string message
readonly attribute nsresult result
readonly attribute string name
readonly attribute string filename
readonly attribute PRUint32 lineNumber
readonly attribute PRUint32 columnNumber
readonly attribute nsIStackFrame location
readonly attribute nsIException inner
readonly attribute nsISupports data

Protected Attributes

nsresult mResult
const char * mName
const char * mMessage
nsCOMPtr< nsIExceptionmInner

Detailed Description

Definition at line 44 of file nsDOMException.h.


Constructor & Destructor Documentation

Definition at line 189 of file nsDOMException.cpp.

{
}

Definition at line 193 of file nsDOMException.cpp.

{
}

Member Function Documentation

NS_IMETHODIMP nsBaseDOMException::Init ( nsresult  aNSResult,
const char *  aName,
const char *  aMessage,
nsIException aDefaultException 
) [virtual]

Implements nsIBaseDOMException.

Definition at line 361 of file nsDOMException.cpp.

{
  mResult = aNSResult;
  mName = aName;
  mMessage = aMessage;
  mInner = aDefaultException;
  return NS_OK;
}
string nsIException::toString ( ) [inherited]

Member Data Documentation

Definition at line 89 of file nsIException.idl.

readonly attribute nsISupports nsIException::data [inherited]

Definition at line 97 of file nsIException.idl.

readonly attribute string nsIException::filename [inherited]

Definition at line 84 of file nsIException.idl.

Definition at line 94 of file nsIException.idl.

Definition at line 86 of file nsIException.idl.

Definition at line 92 of file nsIException.idl.

readonly attribute string nsIException::message [inherited]

Definition at line 70 of file nsIException.idl.

Definition at line 61 of file nsDOMException.h.

Definition at line 60 of file nsDOMException.h.

const char* nsBaseDOMException::mName [protected]

Definition at line 59 of file nsDOMException.h.

Definition at line 58 of file nsDOMException.h.

readonly attribute string nsIException::name [inherited]

Definition at line 74 of file nsIException.idl.

readonly attribute nsresult nsIException::result [inherited]

Definition at line 72 of file nsIException.idl.


The documentation for this class was generated from the following files: