#include <BESSyntaxUserError.h>
Inheritance diagram for BESSyntaxUserError:
Public Member Functions | |
BESSyntaxUserError (const string &s, const string &file, unsigned int line) | |
virtual | ~BESSyntaxUserError () |
virtual void | dump (ostream &strm) const |
Displays debug information about this object. | |
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_error_type (int type) |
Set the return code for this particular error class. | |
virtual int | get_error_type () |
Return the return code for this error class. | |
Protected Member Functions | |
BESSyntaxUserError () | |
Protected Attributes | |
string | _msg |
unsigned int | _type |
string | _file |
unsigned int | _line |
Definition at line 41 of file BESSyntaxUserError.h.
BESSyntaxUserError::BESSyntaxUserError | ( | ) | [inline, protected] |
Definition at line 44 of file BESSyntaxUserError.h.
BESSyntaxUserError::BESSyntaxUserError | ( | const string & | s, | |
const string & | file, | |||
unsigned int | line | |||
) | [inline] |
Definition at line 46 of file BESSyntaxUserError.h.
virtual BESSyntaxUserError::~BESSyntaxUserError | ( | ) | [inline, virtual] |
Definition at line 51 of file BESSyntaxUserError.h.
virtual void BESSyntaxUserError::dump | ( | ostream & | strm | ) | const [inline, virtual] |
Displays debug information about this object.
strm | output stream to use to dump the contents of this object |
Reimplemented from BESError.
Definition at line 53 of file BESSyntaxUserError.h.
References BESError::dump(), BESIndent::Indent(), and BESIndent::UnIndent().
Here is the call graph for this function:
virtual void BESError::set_message | ( | const string & | msg | ) | [inline, virtual, inherited] |
set the error message for this exception
msg | message string |
Definition at line 83 of file BESError.h.
References BESError::_msg.
Referenced by BESDapError::handleException().
virtual string BESError::get_message | ( | ) | [inline, virtual, inherited] |
get the error message for this exception
Definition at line 88 of file BESError.h.
References BESError::_msg.
Referenced by BESInfo::add_exception(), BESMemoryGlobalArea::BESMemoryGlobalArea(), PPTClient::closeConnection(), BESApacheInterface::exception_manager(), BESInterface::finish(), BESDapError::handleException(), PPTClient::initConnection(), BESModuleApp::initialize(), BESBaseApp::initialize(), main(), ServerApp::run(), CmdApp::run(), and BESModuleApp::terminate().
virtual string BESError::get_file | ( | ) | [inline, virtual, inherited] |
get the file name where the exception was thrown
Definition at line 93 of file BESError.h.
References BESError::_file.
Referenced by BESInfo::add_exception().
virtual int BESError::get_line | ( | ) | [inline, virtual, inherited] |
get the line number where the exception was thrown
Definition at line 98 of file BESError.h.
References BESError::_line.
Referenced by BESInfo::add_exception().
virtual void BESError::set_error_type | ( | int | type | ) | [inline, virtual, inherited] |
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.
return_code | code used when returning from the error |
Definition at line 106 of file BESError.h.
References BESError::_type.
Referenced by BESDapError::BESDapError(), BESDapError::handleException(), and BESApacheInterface::validate_data_request().
virtual int BESError::get_error_type | ( | ) | [inline, virtual, inherited] |
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
Definition at line 114 of file BESError.h.
References BESError::_type.
Referenced by BESInfo::add_exception(), BESApacheInterface::exception_manager(), BESExceptionManager::handle_exception(), and BESDapError::handleException().
string BESError::_msg [protected, inherited] |
Definition at line 54 of file BESError.h.
Referenced by BESError::BESError(), BESError::dump(), BESError::get_message(), and BESError::set_message().
unsigned int BESError::_type [protected, inherited] |
Definition at line 55 of file BESError.h.
Referenced by BESError::dump(), BESError::get_error_type(), and BESError::set_error_type().
string BESError::_file [protected, inherited] |
unsigned int BESError::_line [protected, inherited] |