#include <src/main/decaf/io/IOException.h>
Constructor & Destructor Documentation
decaf::io::IOException::IOException |
( |
| ) |
throw () [inline] |
decaf::io::IOException::IOException |
( |
const lang::Exception & |
ex | ) |
throw () [inline] |
Copy Constructor.
- Parameters:
-
decaf::io::IOException::IOException |
( |
const IOException & |
ex | ) |
throw () [inline] |
Copy Constructor.
- Parameters:
-
ex | the exception to copy, which is an instance of this type |
decaf::io::IOException::IOException |
( |
const char * |
file, |
|
|
const int |
lineNumber, |
|
|
const std::exception * |
cause, |
|
|
const char * |
msg, |
|
|
|
... |
|
) |
| throw () [inline] |
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::io::IOException::IOException |
( |
const std::exception * |
cause | ) |
throw () [inline] |
Constructor.
- Parameters:
-
cause | Pointer to the exception that caused this one to be thrown, the object is cloned caller retains ownership. |
decaf::io::IOException::IOException |
( |
const char * |
file, |
|
|
const int |
lineNumber, |
|
|
const char * |
msg, |
|
|
|
... |
|
) |
| throw () [inline] |
Constructor.
- 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 |
virtual decaf::io::IOException::~IOException |
( |
| ) |
throw () [inline, virtual] |
Member Function Documentation
virtual IOException* decaf::io::IOException::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 instance of an Exception that is a copy of this instance.
Reimplemented from decaf::lang::Exception.
Reimplemented in decaf::internal::net::ssl::openssl::OpenSSLSocketException, decaf::io::EOFException, decaf::io::InterruptedIOException, decaf::io::UnsupportedEncodingException, decaf::io::UTFDataFormatException, decaf::net::BindException, decaf::net::ConnectException, decaf::net::HttpRetryException, decaf::net::MalformedURLException, decaf::net::NoRouteToHostException, decaf::net::PortUnreachableException, decaf::net::ProtocolException, decaf::net::SocketException, decaf::net::SocketTimeoutException, decaf::net::UnknownHostException, decaf::net::UnknownServiceException, and decaf::util::zip::ZipException.
The documentation for this class was generated from the following file: