Jive reference manual
|
#include <jem/base/Error.h>
Public Types | |
typedef Error | Self |
typedef Throwable | Super |
Public Member Functions | |
Error (const String &place="", const String &msg="") | |
Error (const Self &rhs) | |
virtual String | name () const |
Returns the class name of this exception. More... | |
virtual String | getStackTrace () const |
Public Member Functions inherited from jem::Throwable | |
Throwable (const String &place=String(), Const String &msg=String()) | |
Creates a new Throwable instance. More... | |
Throwable (const Throwable &rhs) | |
Creates a copy of another Throwable instance. More... | |
~Throwable () | |
Destructor. More... | |
virtual String | where () const |
Returns a string describing the context in which this Throwable was thrown. More... | |
virtual String | what () const |
Returns a string describing why this Throwable was thrown. More... | |
Protected Attributes | |
String | trace_ |
typedef Error jem::Error::Self |
typedef Throwable jem::Error::Super |
jem::Error::Error | ( | const Self & | rhs | ) |
|
virtual |
Returns the full class name – including namespaces – of this Throwable
instance. This function should be overriden by derived classes. For instance, a class named flip::FlopException
should return the string "flip::FlopException"
.
Reimplemented from jem::Throwable.
Reimplemented in jem::MemoryError.
|
virtual |
|
protected |