rasdaman client API  10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
Public Member Functions | List of all members
r_EGeneral Class Reference

General error with no error number/kind. More...

#include <error.hh>

Inheritance diagram for r_EGeneral:
r_Error

Public Member Functions

 r_EGeneral (const std::string &errorText)
 
- Public Member Functions inherited from r_Error
 r_Error ()
 
 r_Error (kind theKindArg, unsigned int newErrorNo=0)
 constructor getting the kind More...
 
 r_Error (kind theKindArg, std::string errorParam)
 constructor getting the kind and additional error details More...
 
 r_Error (unsigned int errorno)
 constructor getting an error number More...
 
 r_Error (unsigned int errorno, std::string errorDetails)
 constructor getting an error number and additional error details More...
 
 r_Error (const char *what)
 constructor getting an error text More...
 
 ~r_Error () noexcept override=default
 
const char * what () const noexcept override
 
virtual const std::string & what_str () const noexcept
 
kind get_kind () const
 
unsigned long get_errorno () const
 
const std::string & get_errorparam () const
 
void set_what (const char *what)
 
virtual std::string serialiseError () const
 used to transfer exceptions of kind r_Error_SerialisableException to the client. More...
 
void setTextParameter (const char *parameterName, long long 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...
 

Additional Inherited Members

- Public Types inherited from r_Error
enum  kind {
  r_EGeneral, 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_FileNotFound, 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, r_Error_InvalidBoundsStringContents, r_Error_RuntimeProjectionError,
  r_Error_InvalidSourceCRS, r_Error_InvalidTargetCRS, r_Error_InvalidProjectionResultGridExtents, r_Error_FileTileStructureInconsistent,
  r_Error_RasFedMessageParsingFailed, r_Error_UDFInstallationDirectoryNotDefined, r_Error_TileCannotBeLocked, r_Error_Conversion,
  r_Error_RasfedConnectionFailed, r_Error_RasfedConnectionTimeout, r_Error_RasfedUnknownPeerHostname
}
 error kinds More...
 
- Static Public Member Functions inherited from r_Error
static void initTextTable ()
 read error text file into text table 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...
 
virtual void resetErrorText ()
 The virtual method is redefined in each subclass which supports text parameters. More...
 
void updateWithErrorDetails ()
 Update the standard error text with the extra error information if any was specified. More...
 
- Protected Attributes inherited from r_Error
std::string errorText
 attribute storing the error description text More...
 
unsigned int errorNo {0u}
 attribute storing the number of the error More...
 
kind theKind {r_Error_General}
 attribute storing the error kind More...
 
std::string errorDetails
 additional information for errors that can be parameterized More...
 

Detailed Description

General error with no error number/kind.

Constructor & Destructor Documentation

◆ r_EGeneral()

r_EGeneral::r_EGeneral ( const std::string &  errorText)

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