![]() |
rasdaman client API 10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
|
The class is used for errors occuring through query execution. More...
#include <error.hh>
Public Member Functions | |
| r_Equery_execution_failed (unsigned int errorno, unsigned int lineno, unsigned int columnno, const char *token) | |
| default constructor | |
| unsigned int | get_lineno () const |
| unsigned int | get_columnno () const |
| const char * | get_token () const |
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. | |
The class is used for errors occuring through query execution.
In most cases, the position which caused the error can be fixed. This position is specified by line number, column number, and the token which is involved. Additionally, the class is generic concerning the error type. Different error types can be specified by stating the error number.
| r_Equery_execution_failed::r_Equery_execution_failed | ( | unsigned int | errorno, |
| unsigned int | lineno, | ||
| unsigned int | columnno, | ||
| const char * | token | ||
| ) |
default constructor
| unsigned int r_Equery_execution_failed::get_columnno | ( | ) | const |
| unsigned int r_Equery_execution_failed::get_lineno | ( | ) | const |
| const char * r_Equery_execution_failed::get_token | ( | ) | const |
|
overrideprotectedvirtual |
reset error text
Reimplemented from r_Error.