Ilwis-Objects  1.0
GIS and Remote Sensing framework for data access and processing
 All Classes Functions Enumerations Pages
Public Member Functions | List of all members
Ilwis::ErrorObject Class Reference

The ErrorObject class base class for all exceptions in Ilwis. More...

#include <errorobject.h>

Inheritance diagram for Ilwis::ErrorObject:
Ilwis::FeatureCreationError Ilwis::GeometryError Ilwis::InternalError Ilwis::ScriptError Ilwis::ScriptExecutionError Ilwis::ScriptSyntaxError

Public Member Functions

 ErrorObject (const QString &message)
 ErrorObject constructor. More...
 
QString message () const
 message More...
 
virtual const char * what () const throw ()
 

Detailed Description

The ErrorObject class base class for all exceptions in Ilwis.

*Exceptions are not widely used in ILwis, there is more a reliance on return values. But were they are used they must be derived from ErrorObject *The reason is that there must still be logging to the issuelogger and this can be done through the errorobject

Constructor & Destructor Documentation

ErrorObject::ErrorObject ( const QString &  message)

ErrorObject constructor.

Parameters
messageA string message describing the error that occured

Member Function Documentation

QString ErrorObject::message ( ) const

message

Returns
returns the message of the exception

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