1 #ifndef _VN_EXCEPTIONS_H_
7 #define _VN_EXCEPTIONS_H_
33 explicit not_implemented(std::string msg) : logic_error(msg.c_str()) { }
56 #if VN_SUPPORTS_CSTR_STRING_CONCATENATE
57 explicit permission_denied(std::string itemName) : runtime_error(std::string(
"Permission denied for item '" + itemName +
"'.").c_str()) { }
59 explicit permission_denied(std::string itemName) : runtime_error(
"Permission denied for item.") { }
74 explicit not_found(std::string msg) : runtime_error(msg) { }
93 char const*
what()
const throw() {
return "timeout"; }
Indicates the requested feature is not supported.
Definition: exceptions.h:64
Indicates that the requested functionality is not currently implemented.
Definition: exceptions.h:29
Indicates an invalid operation was attempted.
Definition: exceptions.h:44
Requested item not found.
Definition: exceptions.h:71
Indicates invalid permission for the operation.
Definition: exceptions.h:52
A timeout occurred.
Definition: exceptions.h:85
Indicates an unknown error occurred.
Definition: exceptions.h:21
char const * what() const
Returns a description of the exception.
Definition: exceptions.h:93
Exception class indicating that there as an dimensional error.
Definition: exceptions.h:14
Indicates a null pointer was provided.
Definition: exceptions.h:37