43 #ifndef RIEGL_RDB_ERROR_HPP
44 #define RIEGL_RDB_ERROR_HPP
50 #include "riegl/rdb.h"
61 class Error:
public std::exception
128 const std::string &
details =
""
138 virtual const int&
code() const RDB_NO_EXCEPT;
148 virtual const
char*
what() const RDB_NO_EXCEPT;
159 virtual const
char*
details() const RDB_NO_EXCEPT;
163 const std::
string errorDetails;
168 #endif // RIEGL_RDB_ERROR_HPP
virtual const char * what() const RDB_NO_EXCEPT
Get error text.
invalid point attribute scale factor given (value is stored in error details)
invalid string size, string name and limit in error details
bound attribute with invalid vector index
given transaction ID is invalid
point attribute of given name already exists
source point attribute data could not be copied to target point attribute data as they are not compat...
a query failed because no database was opened
failed to create or open database, most likely insufficient access rights or invalid location ...
failed to release database transaction lock
point attribute minimum and maximum are invalid
point attribute default value out of range (min./max.)
operation failed because database was modified by concurrent client (should never happen) ...
modification of database not possible as opened in read-only mode (check file access rights) ...
select query filter string contains invalid vector attribute index
ErrorCode
List of error codes.
failed to acquire database transaction lock
the point attribute details can not be merged because they are not compatible (reason see details) ...
select query node ID invalid
metadata entry does not correspond to schema
point attribute vector length is invalid
select query filter string refers to unknown point attribute, attribute name is stored in error detai...
index graph node not found (invalid node ID)
point attribute of given name does not exist, attribute name is stored in error details ...
operation failed because a transaction is started but not yet finished
tried to modify a constant attribute
bound invalid attribute to query, attribute name is stored in error details (not all attributes are a...
total size of all transaction details strings exceeds the limit
given attribute value (insert or update) is out of range, attribute name is stored in error details ...
point attribute invalid value out of range (min./max.)
point attribute resolution is invalid
database does not correspond to user-supplied schema
bound unknown attribute to query, attribute name is stored in error details
no buffer for primary point attribute defined
no buffer given for at least one element of an vector point attribute (i.e. when length > 1) ...
total size of all metadata item names and values exceeds the limit
modification of point attribute property not allowed (property name is stored in error details) ...
no valid license key found for requested feature
no buffer for point ID attribute defined
Error(const int &code, const std::string &details="")
Constructor.
virtual const int & code() const RDB_NO_EXCEPT
Get error code.
failed to create or verify metadata entry signature (reason in error details)
bound attribute buffer is invalid
virtual const char * details() const RDB_NO_EXCEPT
Get error details.
operation failed because there was no transaction, see pointcloud::Transactions::begin() ...
metadata entry name is not allowed (name is stored in error details)
select query filter string does not define vector index for vector point attribute ...
can't start a new query as an other query started by this Pointcloud instance is not finished yet ...
base error code for fatal internal errors
failed to parse JSON string, reason available in error details
virtual ~Error()
Destructor.
points can not be inserted as the total number of points would exceed the limit of 65536 * points-per...
select query filter string parsing failed, check syntax
database file format version not supported