FRIBParallelanalysis
1.0
FrameworkforMPIParalleldataanalysisatFRIB
|
#include <URIFormatException.h>
Public Member Functions | |
CURIFormatException (std::string uri, const char *file, int line) | |
uri is just not the right format. | |
CURIFormatException (std::string uri, std::string port, const char *file, int line) | |
Port is not a port. | |
CURIFormatException (std::string uri, const char *host, const char *file, int line) | |
Host fails validity check. | |
CURIFormatException (const CURIFormatException &rhs) | |
CURIFormatException & | operator= (const CURIFormatException &rhs) |
int | operator== (const CURIFormatException &rhs) const |
int | operator!= (const CURIFormatException &rhs) const |
virtual const char * | ReasonText () const |
virtual int | ReasonCode () const |
![]() | |
CException (const char *pszAction) | |
CException (const std::string &rsAction) | |
CException (const CException &aCException) | |
CException & | operator= (const CException &aCException) |
int | operator== (const CException &aCException) const |
int | operator!= (const CException &rException) const |
const char * | getAction () const |
const char * | WasDoing () const |
Additional Inherited Members | |
![]() | |
void | setAction (const char *pszAction) |
void | setAction (const std::string &rsAction) |
virtual void | DoAssign (const CException &rhs) |
CURIFormatException defines an exception that's thrown when parsing an Universal Resource Identifier (URI). The string indicates a human readable reason for the failure. The error code is always -1. The reason text encodes why the exception was thrown as well as where, e.g.:
URI Format Incorrect: reason : thrown at file:line
where file is almost always something ending in URI.cpp, and line is the line in that file where the actual exception was constructed.
CURIFormatException::CURIFormatException | ( | const CURIFormatException & | rhs | ) |
Copy construction:
int CURIFormatException::operator!= | ( | const CURIFormatException & | rhs | ) | const |
Inequality if ! equal.
CURIFormatException & CURIFormatException::operator= | ( | const CURIFormatException & | rhs | ) |
Assignment
int CURIFormatException::operator== | ( | const CURIFormatException & | rhs | ) | const |
Equality comparison.. all the members must be the same.
|
virtual |
|
virtual |