bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
|
exception thrown if an internal error is found and is fatal to the BES More...
#include <BESInternalFatalError.h>
Public Member Functions | |
virtual void | add_my_error_details_to (BESInfo &) const |
BESInternalFatalError (std::string s, std::string file, unsigned int line) | |
void | dump (std::ostream &strm) const override |
Displays debug information about this object. | |
std::string | error_name () const override |
unsigned int | get_bes_error_type () const |
Return the return code for this error class. | |
std::string | get_file () const |
get the file name where the exception was thrown | |
unsigned int | get_line () const |
get the line number where the exception was thrown | |
std::string | get_message () const |
get the error message for this exception | |
virtual std::string | get_verbose_message () const |
void | set_bes_error_type (unsigned int type) |
Set the return code for this particular error class. | |
void | set_message (const std::string &msg) |
set the error message for this exception | |
const char * | what () const noexcept override |
Return a brief message about the exception. | |
exception thrown if an internal error is found and is fatal to the BES
Definition at line 43 of file BESInternalFatalError.h.
|
inline |
Definition at line 45 of file BESInternalFatalError.h.
|
inlinevirtualinherited |
Used to add error specific details to the BESInfo object
info |
Reimplemented in http::HttpError.
Definition at line 116 of file BESError.h.
|
inlineoverridevirtual |
Displays debug information about this object.
dumps information about this object
strm | output stream to use to dump the contents of this object |
Displays the pointer value of this instance along with the exception message, the file from which the exception was generated, and the line number in that file.
strm | C++ i/o stream to dump the information to |
Reimplemented from BESError.
Definition at line 50 of file BESInternalFatalError.h.
|
inlineoverridevirtual |
Reimplemented from BESError.
Definition at line 57 of file BESInternalFatalError.h.
|
inlineinherited |
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 174 of file BESError.h.
|
inlineinherited |
get the file name where the exception was thrown
Definition at line 140 of file BESError.h.
|
inlineinherited |
get the line number where the exception was thrown
Definition at line 148 of file BESError.h.
|
inlineinherited |
get the error message for this exception
Definition at line 132 of file BESError.h.
|
virtualinherited |
Definition at line 43 of file BESError.cc.
|
inlineinherited |
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.
type | the type of error this error object represents. Can be one of BES_INTERNAL_ERROR, BES_INTERNAL_FATAL_ERROR, BES_SYNTAX_USER_ERROR, BES_FORBIDDEN_ERROR, BES_NOT_FOUND_ERROR |
Definition at line 164 of file BESError.h.
|
inlineinherited |
set the error message for this exception
msg | message string |
Definition at line 108 of file BESError.h.
|
inlineoverridenoexceptinherited |
Return a brief message about the exception.
Definition at line 184 of file BESError.h.