sk::util::Exception Class Reference

#include <Exception.h>

Inheritance diagram for sk::util::Exception:

sk::util::Object sk::io::IOException sk::rt::thread::Exit sk::util::IllegalStateException sk::util::IndexOutOfBoundsException sk::util::InsufficientMemoryException sk::util::InterruptedException sk::util::MissingResourceException sk::util::NoSuchElementException sk::util::NullPointerException sk::util::NumberFormatException sk::util::SystemException sk::util::UnsupportedOperationException

List of all members.

Public Member Functions

 Exception (const util::String &message)
virtual ~Exception () throw ()
const sk::util::String getMessage () const
const sk::util::Class getClass () const
 Returns the object's class.
const char * what () const throw ()
virtual Objectself ()
 Returns a reference to itself.
virtual const Objectself () const
Objectclone () const
 Instantiates another object of the same class as a copy of itself.
virtual uint64_t getId () const
 Returns a unique object id.
virtual const String toString () const
 Returns a string representation of the object. By default, it returns the object's class and the objects's id.
virtual const String inspect () const
 Returns a string containing human-readable representation of the object.

Static Public Member Functions

template<typename S , typename T , typename TMF >
static void guard (const S &stream, T &target, TMF method, const char *spot=0)

Protected Member Functions

const String join (const String &s1, const String &s2) const
const String join (const String &s1, int i1) const


Constructor & Destructor Documentation

sk::util::Exception::Exception ( const util::String message  ) 

virtual sk::util::Exception::~Exception (  )  throw () [virtual]


Member Function Documentation

Object* sk::util::Object::clone (  )  const [inherited]

Instantiates another object of the same class as a copy of itself.

Reimplemented in sk::rt::logger::Destination, and sk::util::String.

const sk::util::Class sk::util::Exception::getClass (  )  const [virtual]

virtual uint64_t sk::util::Object::getId (  )  const [virtual, inherited]

Returns a unique object id.

Reimplemented in sk::rt::Thread.

const sk::util::String sk::util::Exception::getMessage (  )  const

template<typename S , typename T , typename TMF >
void sk::util::Exception::guard ( const S &  stream,
T &  target,
TMF  method,
const char *  spot = 0 
) [inline, static]

virtual const String sk::util::Object::inspect (  )  const [virtual, inherited]

const String sk::util::Exception::join ( const String s1,
int  i1 
) const [protected]

const String sk::util::Exception::join ( const String s1,
const String s2 
) const [protected]

virtual const Object& sk::util::Object::self (  )  const [virtual, inherited]

Reimplemented in sk::util::String.

virtual Object& sk::util::Object::self (  )  [virtual, inherited]

Returns a reference to itself.

Reimplemented in sk::util::String.

virtual const String sk::util::Object::toString (  )  const [virtual, inherited]

Returns a string representation of the object. By default, it returns the object's class and the objects's id.

Reimplemented in sk::rt::logger::Level, sk::rt::thread::State, sk::util::Boolean, sk::util::Class, sk::util::Container, sk::util::Pathname, and sk::util::String.

const char* sk::util::Exception::what (  )  const throw ()


The documentation for this class was generated from the following file:

Generated on Tue Mar 3 12:36:10 2009 for stemkit-cpp by  doxygen 1.5.8