Exception classes¶
pni::io_error
¶
-
class io_error : public pni::exception¶
general IO error
This exception is thrown in all situations where IO operations fail. This includes reading and writing of payload- or meta-data.
Public Functions
-
explicit io_error()¶
default constructor
-
explicit io_error(const pni::exception_record &i, const pni::string &d)¶
constructor
-
~io_error()¶
destructor
-
explicit io_error()¶
pni::link_error
¶
-
class link_error : public pni::exception¶
link error
Exception is thrown when link operations fails.
Public Functions
-
explicit link_error()¶
default constructor
-
explicit link_error(const pni::exception_record &i, const pni::string &d)¶
constructor
-
~link_error()¶
destructor
Friends
-
PNINEXUS_EXPORT friend std::ostream &operator<<(std::ostream &o, const link_error &e)¶
output operator
-
explicit link_error()¶
pni::object_error
¶
-
class object_error : public pni::exception¶
general error on IO objects
Used for general errors on IO objects. This includes the failure to create or close an object.
Public Functions
-
explicit object_error()¶
default constructor
-
explicit object_error(const pni::exception_record &i, const pni::string &d)¶
constructor
-
~object_error()¶
destructor
Friends
-
PNINEXUS_EXPORT friend std::ostream &operator<<(std::ostream &o, const object_error &e)¶
output operator
-
explicit object_error()¶
pni::parser_error
¶
-
class parser_error : public pni::exception¶
general parser related error
Raised in case of a general parser error. This exception can be expected to be thrown by all functions and methods that are somehow related to parsing strings.
Public Functions
-
explicit parser_error()¶
default constructor
-
explicit parser_error(const pni::exception_record &i, const pni::string &d)¶
constructor
-
~parser_error()¶
destructor
Friends
-
PNINEXUS_EXPORT friend std::ostream &operator<<(std::ostream &o, const parser_error &e)¶
output operator
-
explicit parser_error()¶
pni::invalid_object_error
¶
-
class invalid_object_error : public pni::exception¶
unexpected invalid object
Raised in cases where an object is unexpectedly in an invalid state. An object uses this exception in cases where the user makes a request on a feature not availabel as the object is in an invalid state.
Public Functions
-
explicit invalid_object_error()¶
default constructor
-
explicit invalid_object_error(const pni::exception_record &i, const pni::string &d)¶
constructor
-
~invalid_object_error()¶
destructor
Friends
-
PNINEXUS_EXPORT friend std::ostream &operator<<(std::ostream &o, const invalid_object_error &e)¶
output operator
-
explicit invalid_object_error()¶