The exception that is thrown when the file image of a dynamic link library (DLL) or an executable program is invalid. Never create instances of this class manually. Use the BadImageFormatException class instead. Never wrap the BadImageFormatException class instances into System::SmartPtr.
More...
#include <bad_image_fromat_exception.h>
Inherits System::Details_ExceptionWithFilename< Details_SystemException >.
|
| Details_BadImageFormatException () |
| Initializes a new instance of the BadImageFormatException class. More...
|
|
| Details_BadImageFormatException (const String &message) |
| Initializes a new instance of the BadImageFormatException class with a specified error message. More...
|
|
| Details_BadImageFormatException (const String &message, const Exception &innerException) |
| Initializes a new instance of the BadImageFormatException class with a specified error message and a reference to the inner exception that is the cause of this exception. More...
|
|
| Details_BadImageFormatException (const String &message, const String &fileName) |
| Initializes a new instance of the BadImageFormatException class with a specified error message and file name. More...
|
|
| Details_BadImageFormatException (const String &message, const String &fileName, const Exception &innerException) |
| Initializes a new instance of the BadImageFormatException class with a specified error message and a reference to the inner exception that is the cause of this exception. More...
|
|
void | DoThrow (const System::ExceptionPtr &self) const override |
|
| Details_ExceptionWithFilename () |
| Initializes a new instance with an empty file name. More...
|
|
| Details_ExceptionWithFilename (const String &message) |
| Initializes a new instance with a specified error message and an empty file name. More...
|
|
| Details_ExceptionWithFilename (const String &message, const Exception &innerException) |
| Initializes a new instance with a specified error message, a reference to the inner exception that is the cause of this exception, and an empty file name. More...
|
|
| Details_ExceptionWithFilename (const String &message, const String &fileName) |
| Initializes a new instance with a specified error message and a specified filename. More...
|
|
| Details_ExceptionWithFilename (const String &message, const String &fileName, const Exception &innerException) |
| Initializes a new instance with a specified error message, a reference to the inner exception that is the cause of this exception, and a specified file name. More...
|
|
virtual String | ExtraDescription () const override |
|
The exception that is thrown when the file image of a dynamic link library (DLL) or an executable program is invalid. Never create instances of this class manually. Use the BadImageFormatException class instead. Never wrap the BadImageFormatException class instances into System::SmartPtr.
◆ Details_BadImageFormatException() [1/5]
System::Details_BadImageFormatException::Details_BadImageFormatException |
( |
| ) |
|
|
protected |
Initializes a new instance of the BadImageFormatException class.
◆ Details_BadImageFormatException() [2/5]
System::Details_BadImageFormatException::Details_BadImageFormatException |
( |
const String & |
message | ) |
|
|
protected |
Initializes a new instance of the BadImageFormatException class with a specified error message.
- Parameters
-
message | The message that describes the error. |
◆ Details_BadImageFormatException() [3/5]
System::Details_BadImageFormatException::Details_BadImageFormatException |
( |
const String & |
message, |
|
|
const Exception & |
innerException |
|
) |
| |
|
protected |
Initializes a new instance of the BadImageFormatException class with a specified error message and a reference to the inner exception that is the cause of this exception.
- Parameters
-
message | The error message that explains the reason for the exception. |
innerException | The exception that is the cause of the current exception. If the inner parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |
◆ Details_BadImageFormatException() [4/5]
System::Details_BadImageFormatException::Details_BadImageFormatException |
( |
const String & |
message, |
|
|
const String & |
fileName |
|
) |
| |
|
protected |
Initializes a new instance of the BadImageFormatException class with a specified error message and file name.
- Parameters
-
message | A message that describes the error. |
fileName | The full name of the file with the invalid image. |
◆ Details_BadImageFormatException() [5/5]
System::Details_BadImageFormatException::Details_BadImageFormatException |
( |
const String & |
message, |
|
|
const String & |
fileName, |
|
|
const Exception & |
innerException |
|
) |
| |
|
protected |
Initializes a new instance of the BadImageFormatException class with a specified error message and a reference to the inner exception that is the cause of this exception.
- Parameters
-
message | The error message that explains the reason for the exception. |
fileName | The full name of the file with the invalid image. |
innerException | The exception that is the cause of the current exception. If the inner parameter is not null, the current exception is raised in a catch block that handles the inner exception. |
◆ DoThrow()
- See also
- System::Exception::DoThrow