#include <exception.hpp>
Public Member Functions | |
~exception () throw () | |
Destroys the exception. | |
char const * | what () const throw () |
Brief description starts here. | |
char const * | get_message () const throw () |
Gets the message associated with the exception. | |
saga::error | get_error () const throw () |
Brief description starts here. | |
saga::object | get_object () const throw () |
Gets the SAGA object associated with exception. | |
std::vector< saga::exception > const & | get_all_exceptions () const throw () |
return list of all exceptions encapsulated in this instance | |
std::vector< std::string > | get_all_messages () const |
return list of all messages | |
Public Attributes | |
exception std::string & | m |
Creates the exception. | |
exception std::string error | e = NoSuccess) |
exception std::vector < saga::exception > & | l |
Creates the exception, without associating a SAGA object instance. |
We introduce a exception hierarchy here, which maps onto the exceptions as defined by the SAGA specification:
saga::exception
saga::not_implemented
saga::parameter_exception
saga::incorrect_url
saga::bad_parameter
saga::state_exception
saga::already_exists
saga::does_not_exist
saga::incorrect_state
saga::timeout
saga::security_exception
saga::permission_denied
saga::authorization_failed
saga::authentication_failed
saga::no_success
saga::exception::~exception | ( | ) | throw () [inline] |
Destroys the exception.
char const * saga::exception::what | ( | ) | const throw () |
Brief description starts here.
char const * saga::exception::get_message | ( | ) | const throw () |
Gets the message associated with the exception.
saga::error saga::exception::get_error | ( | ) | const throw () |
Brief description starts here.
saga::object saga::exception::get_object | ( | ) | const throw () |
Gets the SAGA object associated with exception.
std::vector< saga::exception > const & saga::exception::get_all_exceptions | ( | ) | const throw () |
return list of all exceptions encapsulated in this instance
std::vector< std::string > saga::exception::get_all_messages | ( | ) | const |
return list of all messages
exception std::string& saga::exception::m |
Creates the exception.
obj | The object associated with the exception. | |
message | The message to be associated with the new exception. |
Creates the exception.
obj | The object associated with the exception. | |
message | The message to be associated with the new exception. |
Creates the exception.
obj | The object associated with the exception. | |
message | The message to be associated with the new exception. | |
e | Use this error code for the generated exception |
Creates the exception, without associating a SAGA object instance
message | The message to be associated with the new exception. |
exception std::string error saga::exception::e = NoSuccess) |
exception std::vector< saga::exception >& saga::exception::l |
Creates the exception, without associating a SAGA object instance.
message | The message to be associated with the new exception. |