TreeFrogFramework  1.18
Public Member Functions | List of all members
RuntimeException Class Reference

#include <tfexception.h>

Inheritance diagram for RuntimeException:
Inheritance graph
[legend]
Collaboration diagram for RuntimeException:
Collaboration graph
[legend]

Public Member Functions

 RuntimeException (const RuntimeException &e)
 
 RuntimeException (const QString &message, const char *fileName="", int lineNumber=0)
 
virtual ~RuntimeException () throw ()
 
QString message () const
 
QString fileName () const
 
int lineNumber () const
 
virtual void raise () const
 
virtual std::exception * clone () const
 

Detailed Description

The RuntimeException class represents an exception that can be thrown when runtime error occurs.

Constructor & Destructor Documentation

RuntimeException::RuntimeException ( const RuntimeException e)
inline

Copy constructor.

RuntimeException::RuntimeException ( const QString &  message,
const char *  fileName = "",
int  lineNumber = 0 
)
inline

Constructor.

RuntimeException::~RuntimeException ( )
throw (
)
inlinevirtual

Destructor.

Member Function Documentation

Exception * RuntimeException::clone ( ) const
inlinevirtual

Creates and returns a deep copy of the current data.

QString RuntimeException::fileName ( ) const
inline

Returns the file name.

int RuntimeException::lineNumber ( ) const
inline

Return the line number.

QString RuntimeException::message ( ) const
inline

Returns the message.

void RuntimeException::raise ( ) const
inlinevirtual

Raises the exception.


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