System::Text::Details_EncoderFallbackException Class Reference

Inherits System::Details_ArgumentException.

Public Member Functions

char_t get_CharUnknown ()
 
char_t get_CharUnknownHigh ()
 
char_t get_CharUnknownLow ()
 
int get_Index ()
 

Detailed Description

Exception thrown by EncoderExceptionFallback when encoding fails. Never create instances of this class manually. Use the EncoderFallbackException class instead. Never wrap the EncoderFallbackException class instances into System::SmartPtr.

Member Function Documentation

◆ get_CharUnknown()

char_t System::Text::Details_EncoderFallbackException::get_CharUnknown ( )
inline

Gets character that triggered error.

Returns
Character that broke encoding.

◆ get_CharUnknownHigh()

char_t System::Text::Details_EncoderFallbackException::get_CharUnknownHigh ( )
inline

Gets high character of pair that triggered error.

Returns
High character from the pair that broke encoding.

◆ get_CharUnknownLow()

char_t System::Text::Details_EncoderFallbackException::get_CharUnknownLow ( )
inline

Gets low character of pair that triggered error.

Returns
Low character from the pair that broke encoding.

◆ get_Index()

int System::Text::Details_EncoderFallbackException::get_Index ( )
inline

Gets position of character that triggered error in input array.

Returns
Index of erroneous character in input array.