Exception thrown by DecoderExceptionFallback when decoding fails. Never create instances of this class manually. Use the DecoderFallbackException class instead. Never wrap the DecoderFallbackException class instances into System::SmartPtr.
More...
#include <decoder_fallback_exception.h>
Inherits Details_ArgumentException.
Exception thrown by DecoderExceptionFallback when decoding fails. Never create instances of this class manually. Use the DecoderFallbackException class instead. Never wrap the DecoderFallbackException class instances into System::SmartPtr.
◆ Details_DecoderFallbackException() [1/4]
| System::Text::Details_DecoderFallbackException::Details_DecoderFallbackException |
( |
| ) |
|
|
protected |
◆ Details_DecoderFallbackException() [2/4]
| System::Text::Details_DecoderFallbackException::Details_DecoderFallbackException |
( |
const System::String & |
message | ) |
|
|
protected |
◆ Details_DecoderFallbackException() [3/4]
| System::Text::Details_DecoderFallbackException::Details_DecoderFallbackException |
( |
const System::String & |
message, |
|
|
const ArrayPtr< uint8_t > & |
bytesUnknown, |
|
|
int |
index |
|
) |
| |
|
protected |
Constructor.
- Parameters
-
| message | Message to throw. |
| bytesUnknown | Array of bytes which triggered the error. |
| index | Index of byte that triggered error. |
◆ Details_DecoderFallbackException() [4/4]
| System::Text::Details_DecoderFallbackException::Details_DecoderFallbackException |
( |
const System::String & |
message, |
|
|
const System::Exception & |
innerException |
|
) |
| |
|
protected |
Constructor.
- Parameters
-
| message | Message to throw. |
| innerException | Wrapped exception. |
◆ DoThrow()
| void System::Text::Details_DecoderFallbackException::DoThrow |
( |
const System::ExceptionPtr & |
self | ) |
const |
|
overrideprotected |
Throws exception instance wrapped by exception wrapper.
- Parameters
-
| self | Exception instance to be thrown. |
◆ get_BytesUnknown()
| System::ArrayPtr< uint8_t > System::Text::Details_DecoderFallbackException::get_BytesUnknown |
( |
| ) |
|
Gets byte array that triggered error.
- Returns
- Byte array that broke decoding.
◆ get_Index()
| int System::Text::Details_DecoderFallbackException::get_Index |
( |
| ) |
|
Gets position of byte that triggered error in input array.
- Returns
- Index of erroneous byte in input array.
◆ m_bytesUnknown
| System::ArrayPtr<uint8_t> System::Text::Details_DecoderFallbackException::m_bytesUnknown |
|
protected |
Array of bytes that triggered decoder error.
◆ m_index
| int System::Text::Details_DecoderFallbackException::m_index = 0 |
|
protected |
Index of byte that triggered error in input array.