zmm::Exception Class Reference

#include <exception.h>

Inheritance diagram for zmm::Exception:
LoginException mxml::ParseException ServerShutdownException SessionException SingletonException StorageException SubtitlesNotFoundException TryAgainException UpnpException

Public Member Functions

 Exception (String message, const char *file, int line, const char *function)
 Exception (String message)
String getMessage ()
Ref< Array< StringBase > > getStackTrace ()
void printStackTrace (FILE *file=LOG_FILE)

Protected Attributes

String message
String file
String function
int line
Ref< Array< StringBase > > stackTrace

Detailed Description

Definition at line 46 of file exception.h.


Constructor & Destructor Documentation

Exception::Exception ( String  message,
const char *  file,
int  line,
const char *  function 
)

Definition at line 46 of file exception.cc.

References stackTrace.

Exception::Exception ( String  message  ) 

Definition at line 69 of file exception.cc.

References file, function, line, nil, and stackTrace.


Member Function Documentation

String Exception::getMessage (  ) 
Ref< Array< StringBase > > Exception::getStackTrace (  ) 

Definition at line 96 of file exception.cc.

References stackTrace.

void zmm::Exception::printStackTrace ( FILE *  file = LOG_FILE  )  [inline]

Field Documentation

Definition at line 50 of file exception.h.

Referenced by Exception().

Definition at line 51 of file exception.h.

Referenced by Exception().

int zmm::Exception::line [protected]

Definition at line 52 of file exception.h.

Referenced by Exception().

Definition at line 49 of file exception.h.

Referenced by getMessage(), and StorageException::getUserMessage().

Definition at line 54 of file exception.h.

Referenced by Exception(), and getStackTrace().


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

Generated on Fri Mar 26 20:16:59 2010 for MediaTomb by  doxygen 1.6.1