Cross-Platform C++

ot
class RuntimeException

#include "ot/base/RuntimeException.h"

ot::Exception ot::IllegalArgumentException ot::IllegalCharacterException ot::IllegalMonitorStateException ot::IllegalStateException ot::IllegalThreadStateException ot::NullPointerException ot::OSException ot::UnsupportedOperationException Base class for exceptions that can be thrown by almost all methods and which are not normally documented in the reference material.




Constructor/Destructor Summary
RuntimeException()
         Constructs a RuntimeException without a detail message.
RuntimeException(const String& message)
         Constructs a RuntimeException with a detail message.

Method Summary
 virtual String getExceptionType() const
         Returns the class name as a String.

Methods inherited from class ot::Exception
getDescription, getLocalizedDescription, getMessage, setMessage, toString

Constructor/Destructor Detail

RuntimeException

 RuntimeException()
Constructs a RuntimeException without a detail message.


RuntimeException

 RuntimeException(const String& message)
Constructs a RuntimeException with a detail message.

Parameters:
message - the detail message.

Method Detail

getExceptionType

virtual String getExceptionType() const
Returns the class name as a String. This method should be overridden in all derived classes to return the name of the derived class.

See also:
getDescription()


Cross-Platform C++

Found a bug or missing feature? Please email us at support@elcel.com

Copyright © 2000-2003 ElCel Technology   Trademark Acknowledgements