Exception Class Reference

#include <Exception.h>


Public Member Functions

 Exception ()
 Exception (const string &mex)
 Exception (const char *format,...)
const char * GetMessage () const
void PrintMessage () const

Static Public Member Functions

static void Throw ()
static void Throw (const string &mex)
static void Throw (const char *const format,...)
static void Assert (bool condition)
static void Assert (bool condition, const char *const format,...)
static void Assert (bool condition, const string &mex)

Private Attributes

string message


Detailed Description

Definition at line 12 of file Exception.h.


Constructor & Destructor Documentation

Exception::Exception (  )  [inline]

Definition at line 20 of file Exception.h.

References message.

Referenced by Assert(), and Throw().

Exception::Exception ( const string &  mex  )  [inline]

Definition at line 21 of file Exception.h.

References message.

Exception::Exception ( const char *  format,
  ... 
)

Definition at line 9 of file Exception.cpp.

References message.


Member Function Documentation

const char* Exception::GetMessage (  )  const [inline]

Definition at line 24 of file Exception.h.

References message.

Referenced by main(), plugin_kernel(), plugin_kernel_setparm(), and sprod_data().

void Exception::PrintMessage (  )  const [inline]

Definition at line 25 of file Exception.h.

References message.

static void Exception::Throw (  )  [inline, static]

Definition at line 27 of file Exception.h.

References Exception().

static void Exception::Throw ( const string &  mex  )  [inline, static]

Definition at line 28 of file Exception.h.

References Exception().

void Exception::Throw ( const char *const  format,
  ... 
) [static]

Definition at line 19 of file Exception.cpp.

References Exception().

static void Exception::Assert ( bool  condition  )  [inline, static]

Definition at line 30 of file Exception.h.

References Exception().

Referenced by Util::get(), main(), plugin_kernel_setparm(), plugin_null(), Util::readfile(), Util::readOption(), Util::readOptionArray(), Util::readTag(), sprod_data(), Util::writeOption(), Util::writeOptionArray(), and Util::writeTag().

void Exception::Assert ( bool  condition,
const char *const  format,
  ... 
) [static]

Definition at line 29 of file Exception.cpp.

References Exception().

static void Exception::Assert ( bool  condition,
const string &  mex 
) [inline, static]

Definition at line 32 of file Exception.h.

References Exception().


Field Documentation

string Exception::message [private]

Definition at line 16 of file Exception.h.

Referenced by Exception(), GetMessage(), and PrintMessage().


The documentation for this class was generated from the following files:
Generated on Fri Sep 7 16:29:17 2007 for SVM-Dlight by  doxygen 1.5.1