#include <LDK/Exceptions.h>
Inheritance diagram for LDK::Exception:
Public Member Functions | |
Exception (int line, const char *file, const char *msg=NULL) | |
int | line () const throw () |
const char * | file () const throw () |
virtual const char * | what () const throw () |
Protected Attributes | |
int | mLine |
char | mFile [128] |
char * | mMsg |
Definition at line 59 of file Exceptions.h.
LDK::Exception::Exception | ( | int | line, | |
const char * | file, | |||
const char * | msg = NULL | |||
) |
Contructor
line | The line from which the exception was thrown. | |
file | The source file name from which the exception was thrown. | |
msg | An error message supplied by the user. |
int LDK::Exception::line | ( | ) | const throw () [inline] |
Gets the line number from which the exception was thrown.
Definition at line 75 of file Exceptions.h.
const char* LDK::Exception::file | ( | ) | const throw () [inline] |
Gets the source file name from which the exception was thrown
Definition at line 79 of file Exceptions.h.