#include <src/main/decaf/security/GeneralSecurityException.h>
Constructor & Destructor Documentation
decaf::security::GeneralSecurityException::GeneralSecurityException |
( |
| ) |
throw () [inline] |
decaf::security::GeneralSecurityException::GeneralSecurityException |
( |
const decaf::lang::Exception & |
ex | ) |
throw () [inline] |
Conversion Constructor from some other Exception.
- Parameters:
-
ex | An exception that should become this type of Exception |
decaf::security::GeneralSecurityException::GeneralSecurityException |
( |
const GeneralSecurityException & |
ex | ) |
throw () [inline] |
Copy Constructor.
- Parameters:
-
ex | An exception that should become this type of Exception |
decaf::security::GeneralSecurityException::GeneralSecurityException |
( |
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::security::GeneralSecurityException::GeneralSecurityException |
( |
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::security::GeneralSecurityException::GeneralSecurityException |
( |
const char * |
file, |
|
|
const int |
lineNumber, |
|
|
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 | name where exception occurs |
lineNumber | line number where the exception occurred. |
msg | message to report |
... | list of primitives that are formatted into the message |
virtual decaf::security::GeneralSecurityException::~GeneralSecurityException |
( |
| ) |
throw () [inline, virtual] |
Member Function Documentation
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 deep copy of this exception.
Reimplemented from decaf::lang::Exception.
Reimplemented in decaf::security::cert::CertificateEncodingException, decaf::security::cert::CertificateException, decaf::security::cert::CertificateExpiredException, decaf::security::cert::CertificateNotYetValidException, decaf::security::cert::CertificateParsingException, decaf::security::InvalidKeyException, decaf::security::KeyException, decaf::security::KeyManagementException, decaf::security::NoSuchAlgorithmException, decaf::security::NoSuchProviderException, and decaf::security::SignatureException.
The documentation for this class was generated from the following file: