rasdaman API
Public Member Functions | Protected Member Functions | List of all members
r_Equery_execution_failed Class Reference

#include <error.hh>

Inheritance diagram for r_Equery_execution_failed:
r_Error

Public Member Functions

 r_Equery_execution_failed (unsigned int errorno, unsigned int lineno, unsigned int columnno, const char *token)
 default constructor More...
 
 r_Equery_execution_failed (const r_Equery_execution_failed &err)
 copy constructor More...
 
 ~r_Equery_execution_failed () throw ()
 destructor More...
 
unsigned int get_lineno () const
 
unsigned int get_columnno () const
 
const char * get_token () const
 
- Public Member Functions inherited from r_Error
 r_Error ()
 default constructor More...
 
 r_Error (const r_Error &)
 copy constructor More...
 
 r_Error (kind the_kind, unsigned int newErrorNo=0)
 constructor getting the kind More...
 
 r_Error (unsigned int errorno)
 constructor getting an error number More...
 
virtual ~r_Error () throw ()
 destructor More...
 
virtual const char * what () const throw ()
 get an error description More...
 
const r_Erroroperator= (const r_Error &obj)
 assignment operator More...
 
virtual char * serialiseError ()
 used to transfer exceptions of kind r_Error_SerialisableException to the client. More...
 
void setTextParameter (const char *parameterName, int value)
 replace the specified parameter by the integer value More...
 
void setTextParameter (const char *parameterName, const char *value)
 replace the specified parameter by the string value More...
 
kind get_kind () const
 
unsigned int get_errorno () const
 

Protected Member Functions

virtual void resetErrorText ()
 reset error text More...
 
- Protected Member Functions inherited from r_Error
void setErrorTextOnKind ()
 set error text according to the actual error kind More...
 
void setErrorTextOnNumber ()
 set error text according to the actual error number More...
 

Additional Inherited Members

- Public Types inherited from r_Error
enum  kind {
  r_Error_General, r_Error_DatabaseClassMismatch, r_Error_DatabaseClassUndefined, r_Error_DatabaseClosed,
  r_Error_DatabaseOpen, r_Error_DateInvalid, r_Error_IteratorExhausted, r_Error_NameNotUnique,
  r_Error_QueryParameterCountInvalid, r_Error_QueryParameterTypeInvalid, r_Error_RefInvalid, r_Error_RefNull,
  r_Error_TimeInvalid, r_Error_TimestampInvalid, r_Error_TransactionOpen, r_Error_TransactionNotOpen,
  r_Error_TypeInvalid, r_Error_OIdInvalid, r_Error_OIdNotUnique, r_Error_DatabaseUnknown,
  r_Error_TransferFailed, r_Error_HostInvalid, r_Error_ServerInvalid, r_Error_RpcInterfaceIncompatible,
  r_Error_ClientUnknown, r_Error_ObjectUnknown, r_Error_ObjectInvalid, r_Error_QueryExecutionFailed,
  r_Error_BaseDBMSFailed, r_Error_CollectionElementTypeMismatch, r_Error_CreatingOIdFailed, r_Error_TransactionReadOnly,
  r_Error_LimitsMismatch, r_Error_NameInvalid, r_Error_FeatureNotSupported, r_Error_SerialisableException,
  r_Error_AccesDenied, r_Error_SystemOverloaded, r_Error_MemoryAllocation, r_Error_InvalidOptimizationLevel
}
 error kinds More...
 
- Static Public Member Functions inherited from r_Error
static r_ErrorgetAnyError (char *serErr)
 This function parses a serialised error. More...
 
static void initTextTable ()
 read error text file into text table More...
 
static void freeTextTable ()
 free the text table again More...
 
- Protected Attributes inherited from r_Error
char * errorText
 attribute storing the error description text More...
 
kind theKind
 attribute storing the error kind More...
 
unsigned int errorNo
 attribute storing the number of the error More...
 

Constructor & Destructor Documentation

r_Equery_execution_failed::r_Equery_execution_failed ( unsigned int  errorno,
unsigned int  lineno,
unsigned int  columnno,
const char *  token 
)

default constructor

r_Equery_execution_failed::r_Equery_execution_failed ( const r_Equery_execution_failed err)

copy constructor

r_Equery_execution_failed::~r_Equery_execution_failed ( )
throw (
)

destructor

Member Function Documentation

unsigned int r_Equery_execution_failed::get_columnno ( ) const
inline
unsigned int r_Equery_execution_failed::get_lineno ( ) const
inline
const char* r_Equery_execution_failed::get_token ( ) const
inline
virtual void r_Equery_execution_failed::resetErrorText ( )
protectedvirtual

reset error text

Reimplemented from r_Error.


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