Jive reference manual
List of all members | Public Types | Public Member Functions | Static Public Attributes
jem::MemoryError Class Reference

#include <jem/base/MemoryError.h>

Inheritance diagram for jem::MemoryError:
Inheritance graph

Public Types

typedef Error Super
 
- Public Types inherited from jem::Error
typedef Error Self
 
typedef Throwable Super
 

Public Member Functions

 MemoryError ()
 
 MemoryError (const String &where)
 
 MemoryError (const String &where, const String &what)
 
virtual String name () const
 Returns the class name of this exception. More...
 
- Public Member Functions inherited from jem::Error
 Error (const String &place="", const String &msg="")
 
 Error (const Self &rhs)
 
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...
 

Static Public Attributes

static const char * DEFAULT_ERRMSG
 

Additional Inherited Members

- Protected Attributes inherited from jem::Error
String trace_
 

Member Typedef Documentation

Constructor & Destructor Documentation

jem::MemoryError::MemoryError ( )
jem::MemoryError::MemoryError ( const String where)
explicit
jem::MemoryError::MemoryError ( const String where,
const String what 
)

Member Function Documentation

virtual String jem::MemoryError::name ( ) const
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".

Returns
A string describing the class name of this object.

Reimplemented from jem::Error.

Member Data Documentation

const char* jem::MemoryError::DEFAULT_ERRMSG
static