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

The specified index is not within the bounds. More...

#include <error.hh>

Inheritance diagram for r_Eindex_violation:
r_Error

Public Member Functions

 r_Eindex_violation (r_Range dlow, r_Range dhigh, r_Range dindex)
 constructor getting lower and upper bound, and the index
 
 r_Eindex_violation (r_Range dlow, r_Range dhigh, r_Range dindex, const std::string &details)
 
- Public Member Functions inherited from r_Error
 r_Error ()
 
 r_Error (kind theKindArg, unsigned int newErrorNo=0)
 constructor getting the kind
 
 r_Error (kind theKindArg, std::string errorParam)
 constructor getting the kind and additional error details
 
 r_Error (unsigned int errorno)
 constructor getting an error number
 
 r_Error (unsigned int errorno, std::string errorDetails)
 constructor getting an error number and additional error details
 
 r_Error (const char *what)
 constructor getting an error text
 
 ~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.
 
void setTextParameter (const char *parameterName, long long value)
 replace the specified parameter by the integer value
 
void setTextParameter (const char *parameterName, const char *value)
 replace the specified parameter by the string value
 

Protected Member Functions

void resetErrorText () override
 reset error text
 
- Protected Member Functions inherited from r_Error
void setErrorTextOnKind ()
 set error text according to the actual error kind
 
void setErrorTextOnNumber ()
 set error text according to the actual error number
 
void updateWithErrorDetails ()
 Update the standard error text with the extra error information if any was specified.
 

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
 
- Protected Attributes inherited from r_Error
std::string errorText
 attribute storing the error description text
 
unsigned int errorNo {0u}
 attribute storing the number of the error
 
kind theKind {r_Error_General}
 attribute storing the error kind
 
std::string errorDetails
 additional information for errors that can be parameterized
 

Detailed Description

The specified index is not within the bounds.

Constructor & Destructor Documentation

◆ r_Eindex_violation() [1/2]

r_Eindex_violation::r_Eindex_violation ( r_Range  dlow,
r_Range  dhigh,
r_Range  dindex 
)

constructor getting lower and upper bound, and the index

◆ r_Eindex_violation() [2/2]

r_Eindex_violation::r_Eindex_violation ( r_Range  dlow,
r_Range  dhigh,
r_Range  dindex,
const std::string &  details 
)

Member Function Documentation

◆ resetErrorText()

void r_Eindex_violation::resetErrorText ( )
overrideprotectedvirtual

reset error text

Reimplemented from r_Error.


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