#include <exception.hpp>
 Inheritance diagram for saga::exception:
 Inheritance diagram for saga::exception:| 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
 
Definition at line 52 of file exception.hpp.
| saga::exception::~exception | ( | ) | throw ()  [inline] | 
Destroys the exception.
Definition at line 103 of file exception.hpp.
| char const * saga::exception::what | ( | ) | const throw () | 
Brief description starts here.
Definition at line 72 of file exception.cpp.
| char const * saga::exception::get_message | ( | ) | const throw () | 
Gets the message associated with the exception.
Definition at line 81 of file exception.cpp.
| saga::error saga::exception::get_error | ( | ) | const throw () | 
Brief description starts here.
Definition at line 89 of file exception.cpp.
| saga::object saga::exception::get_object | ( | ) | const throw () | 
Gets the SAGA object associated with exception.
Definition at line 98 of file exception.cpp.
| std::vector< saga::exception > const & saga::exception::get_all_exceptions | ( | ) | const throw () | 
return list of all exceptions encapsulated in this instance
Definition at line 105 of file exception.cpp.
| std::vector< std::string > saga::exception::get_all_messages | ( | ) | const | 
return list of all messages
Definition at line 115 of file exception.cpp.
| 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. | 
Definition at line 92 of file exception.hpp.
| exception std::string error saga::exception::e = NoSuccess) | 
Definition at line 92 of file exception.hpp.
| 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. | 
Definition at line 99 of file exception.hpp.
 1.7.1
 1.7.1