lib
Kross::Api::Exception Class Reference
#include <exception.h>
Inheritance diagram for Kross::Api::Exception:

Detailed Description
Common exception class used for representing exceptions in Kross.Internal we use Exception instances to throw and handle exceptions. Those exceptions are inherited from Object and therefore they are first class citizens in Kross.
Definition at line 38 of file exception.h.
Public Types | |
typedef KSharedPtr< Exception > | Ptr |
Public Member Functions | |
Exception (const QString &error, long lineno=-1, Object::Ptr parent=0) | |
virtual | ~Exception () |
virtual const QString | getClassName () const |
virtual const QString | toString () |
const QString & | getError () const |
const QString & | getTrace () const |
void | setTrace (const QString &tracemessage) |
long | getLineNo () const |
Member Typedef Documentation
|
Shared pointer to implement reference-counting.
Reimplemented from Kross::Api::Object. Definition at line 56 of file exception.h. |
Constructor & Destructor Documentation
|
Constructor.
Definition at line 28 of file exception.cpp. |
|
Destructor.
Definition at line 36 of file exception.cpp. |
Member Function Documentation
|
Implements Kross::Api::Object. Definition at line 40 of file exception.cpp. |
|
Definition at line 52 of file exception.cpp. |
|
Definition at line 67 of file exception.cpp. |
|
Definition at line 57 of file exception.cpp. |
|
Set a more detailed tracemessage.
Definition at line 62 of file exception.cpp. |
|
Reimplemented from Kross::Api::Object. Definition at line 45 of file exception.cpp. |
The documentation for this class was generated from the following files: