Back to index

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

#include <wspprivate.h>

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

List of all members.

Public Member Functions

 WSPException (nsISOAPFault *aFault, nsresult aStatus)
 WSPException (nsresult aStatus, const char *aMsg, nsISupports *aData)
virtual ~WSPException ()
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

nsCOMPtr< nsISOAPFaultmFault
nsCOMPtr< nsISupports > mData
nsresult mStatus
char * mMsg

Detailed Description

Definition at line 214 of file wspprivate.h.


Constructor & Destructor Documentation

WSPException::WSPException ( nsISOAPFault aFault,
nsresult  aStatus 
)

Definition at line 42 of file wspexception.cpp.

  : mFault(aFault), mData(nsnull), mStatus(aStatus), mMsg(nsnull)
{
}
WSPException::WSPException ( nsresult  aStatus,
const char *  aMsg,
nsISupports *  aData 
)

Definition at line 47 of file wspexception.cpp.

  : mFault(nsnull), mData(aData), mStatus(aStatus), mMsg(nsnull)
{
  if (aMsg) {
    mMsg = (char*) nsMemory::Clone(aMsg, strlen(aMsg)+1);
  }
}

Here is the call graph for this function:

Definition at line 57 of file wspexception.cpp.

{
  if (mMsg) {
    nsMemory::Free(mMsg);
  }
}

Member Function Documentation

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.

nsCOMPtr<nsISupports> WSPException::mData [protected]

Definition at line 226 of file wspprivate.h.

readonly attribute string nsIException::message [inherited]

Definition at line 70 of file nsIException.idl.

Definition at line 225 of file wspprivate.h.

char* WSPException::mMsg [protected]

Definition at line 228 of file wspprivate.h.

Definition at line 227 of file wspprivate.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: