#include <BESKeysException.h>
Inheritance diagram for BESKeysException:
Public Member Functions | |
BESKeysException (const string &s, const string &file, int line) | |
virtual | ~BESKeysException () |
virtual void | set_message (const string &msg) |
set the error message for this exception | |
virtual string | get_message () |
get the error message for this exception | |
virtual string | get_file () |
get the file name where the exception was thrown | |
virtual int | get_line () |
get the line number where the exception was thrown | |
virtual void | set_context (const string &context) |
Set the context name of the error class. | |
virtual string | get_context () |
Return the context name of the error class. | |
virtual void | set_return_code (int return_code) |
Set the return code for this particular error class. | |
virtual int | get_return_code () |
Return the return code for this error class. | |
virtual void | dump (ostream &strm) const |
Displays debug information about this object. | |
Protected Member Functions | |
BESKeysException () | |
Protected Attributes | |
string | _msg |
string | _context |
int | _return_code |
string | _file |
int | _line |
|
|
|
Here is the call graph for this function: |
|
|
|
Displays debug information about this object.
Implements BESObj. Reimplemented in BESContainerStorageException. |
|
Return the context name of the error class. Gives the error context, such as response or request or transmit
|
|
get the file name where the exception was thrown
|
|
get the line number where the exception was thrown
|
|
get the error message for this exception
|
|
Return the return code for this error class. Returns the return code for this error class, which could represent the need to terminate or do something specific base on the error
|
|
Set the context name of the error class. Gives the error context, such as response or request or transmit
|
|
set the error message for this exception
|
|
Set the return code for this particular error class. Sets the return code for this error class, which could represent the need to terminate or do something specific based on the error.
|
|
|
|
|
|
|
|
|
|
|