BESNotFoundError Class Reference

error thrown if the resource requested can not be found More...

#include <BESNotFoundError.h>

Inheritance diagram for BESNotFoundError:

Inheritance graph
[legend]
Collaboration diagram for BESNotFoundError:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BESNotFoundError (const string &s, const string &file, unsigned int line)
virtual ~BESNotFoundError ()
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

 BESNotFoundError ()

Protected Attributes

string _msg
unsigned int _type
string _file
unsigned int _line

Detailed Description

error thrown if the resource requested can not be found


Constructor & Destructor Documentation

BESNotFoundError::BESNotFoundError (  )  [inline, protected]

BESNotFoundError::BESNotFoundError ( const string &  s,
const string &  file,
unsigned int  line 
) [inline]

virtual BESNotFoundError::~BESNotFoundError (  )  [inline, virtual]


Member Function Documentation

virtual void BESNotFoundError::dump ( ostream &  strm  )  const [inline, virtual]

Displays debug information about this object.

Parameters:
strm output stream to use to dump the contents of this object

Reimplemented from BESError.

Here is the call graph for this function:

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

Returns:
context string

virtual string BESError::get_file (  )  [inline, virtual, inherited]

get the file name where the exception was thrown

Returns:
file name

virtual int BESError::get_line (  )  [inline, virtual, inherited]

get the line number where the exception was thrown

Returns:
line number

virtual string BESError::get_message (  )  [inline, virtual, inherited]

get the error message for this exception

Returns:
error message

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.

Parameters:
return_code code used when returning from the error

virtual void BESError::set_message ( const string &  msg  )  [inline, virtual, inherited]

set the error message for this exception

Parameters:
msg message string


Member Data Documentation

string BESError::_file [protected, inherited]

unsigned int BESError::_line [protected, inherited]

string BESError::_msg [protected, inherited]

unsigned int BESError::_type [protected, inherited]


The documentation for this class was generated from the following file:
Generated on Fri Apr 11 15:15:23 2008 for OPeNDAP Back End Server (BES) by  doxygen 1.4.7