15 #ifndef SERIALBOX_CORE_FRONTEND_STELLA_SERIALIZATIONEXCEPTION_H 16 #define SERIALBOX_CORE_FRONTEND_STELLA_SERIALIZATIONEXCEPTION_H 38 void Init(
const std::string& errormsg) { message_ = errormsg; }
41 const char*
what()
const throw() {
return message_.c_str(); }
44 const std::string&
message()
const {
return message_; }
const char * what() const
Returns an explanatory string.
const std::string & message() const
Returns an explanatory string.
Namespace of the STELLA frontend.
Namespace of the serialbox library.
Exception of the STELLA frontend.
SerializationException()
Default constructor.
virtual ~SerializationException()
Virtual destructor.
void Init(const std::string &errormsg)
Initialize the exception with an explanatory string errormsg