decaf::net::URISyntaxException Class Reference
#include <src/main/decaf/net/URISyntaxException.h>
Public Member Functions |
| | URISyntaxException () |
| | Default Constructor.
|
| | URISyntaxException (const Exception &ex) |
| | Conversion Constructor from some other Exception.
|
| | URISyntaxException (const URISyntaxException &ex) |
| | Copy Constructor.
|
| | URISyntaxException (const char *file, const int lineNumber, const std::exception *cause, const char *msg,...) |
| | Constructor - Initializes the file name and line number where this message occurred.
|
| | URISyntaxException (const std::exception *cause) |
| | Constructor.
|
| | URISyntaxException (const char *file, const int lineNumber, const char *msg) |
| | Constructor - Initializes the file name and line number where this message occurred.
|
| | URISyntaxException (const char *file, const int lineNumber, const std::string &input, const std::string &reason) |
| | Constructor - Initializes the file name and line number where this message occurred.
|
| | URISyntaxException (const char *file, const int lineNumber, const std::string &input, const std::string &reason, int index) |
| | Constructor - Initializes the file name and line number where this message occurred.
|
| virtual URISyntaxException * | clone () const |
| | Clones this exception.
|
| virtual | ~URISyntaxException () throw () |
| std::string | getInput () const |
| std::string | getReason () const |
| int | getIndex () const |
Constructor & Destructor Documentation
| decaf::net::URISyntaxException::URISyntaxException |
( |
|
) |
|
| decaf::net::URISyntaxException::URISyntaxException |
( |
const Exception & |
ex |
) |
|
Conversion Constructor from some other Exception.
- Parameters:
-
| ex | An exception that should become this type of Exception |
Copy Constructor.
- Parameters:
-
| ex | An exception that should become this type of Exception |
| decaf::net::URISyntaxException::URISyntaxException |
( |
const char * |
file, |
|
|
const int |
lineNumber, |
|
|
const std::exception * |
cause, |
|
|
const char * |
msg, |
|
|
|
... | |
|
) |
| | |
Constructor - Initializes the file name and line number where this message occurred.
Sets the message to report, using an optional list of arguments to parse into the message
- Parameters:
-
| file | The file name where exception occurs |
| lineNumber | The line number where the exception occurred. |
| cause | The exception that was the cause for this one to be thrown. |
| msg | The message to report |
| ... | list of primitives that are formatted into the message |
| decaf::net::URISyntaxException::URISyntaxException |
( |
const std::exception * |
cause |
) |
|
Constructor.
- Parameters:
-
| cause | Pointer to the exception that caused this one to be thrown, the object is cloned caller retains ownership. |
| decaf::net::URISyntaxException::URISyntaxException |
( |
const char * |
file, |
|
|
const int |
lineNumber, |
|
|
const char * |
msg | |
|
) |
| | |
Constructor - Initializes the file name and line number where this message occurred.
Sets the message to report, using an optional list of arguments to parse into the message
- Parameters:
-
| file | The file name where exception occurs |
| lineNumber | The line number where the exception occurred. |
| msg | The message to report |
| ... | list of primitives that are formatted into the message |
| decaf::net::URISyntaxException::URISyntaxException |
( |
const char * |
file, |
|
|
const int |
lineNumber, |
|
|
const std::string & |
input, |
|
|
const std::string & |
reason | |
|
) |
| | |
Constructor - Initializes the file name and line number where this message occurred.
Sets the input string that caused the error and the reason for the error.
- Parameters:
-
| file | The file name where exception occurs. |
| lineNumber | The line number where the exception occurred. |
| input | The URL that caused the exception. |
| reason | The reason for the failure. |
| decaf::net::URISyntaxException::URISyntaxException |
( |
const char * |
file, |
|
|
const int |
lineNumber, |
|
|
const std::string & |
input, |
|
|
const std::string & |
reason, |
|
|
int |
index | |
|
) |
| | |
Constructor - Initializes the file name and line number where this message occurred.
Sets the input string that caused the error and the reason for the error.
- Parameters:
-
| file | The file name where exception occurs |
| lineNumber | The line number where the exception occurred. |
| input | The input URI that caused the exception |
| reason | The reason for the failure. |
| index | The index in the URI string where the error occurred. |
| virtual decaf::net::URISyntaxException::~URISyntaxException |
( |
|
) |
throw () [virtual] |
Member Function Documentation
| virtual URISyntaxException* decaf::net::URISyntaxException::clone |
( |
|
) |
const [inline, virtual] |
Clones this exception.
This is useful for cases where you need to preserve the type of the original exception as well as the message. All subclasses should override.
- Returns:
- a new Exception instance that is a copy of this Exception object.
Reimplemented from decaf::lang::Exception.
| int decaf::net::URISyntaxException::getIndex |
( |
|
) |
const [inline] |
- Returns:
- the index in the input string where the error occured or -1
| std::string decaf::net::URISyntaxException::getInput |
( |
|
) |
const [inline] |
- Returns:
- the Input string that cause this exception or ""
| std::string decaf::net::URISyntaxException::getReason |
( |
|
) |
const [inline] |
- Returns:
- the Reason given for this failure, or ""
The documentation for this class was generated from the following file: