Asposecpplib
System::Text::Details_EncoderFallbackException Class Reference

Exception thrown by EncoderExceptionFallback when encoding fails. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type. More...

Inherits Details_ArgumentException.

Public Member Functions

char_t get_CharUnknown ()
 Gets character that triggered error. More...
 
char_t get_CharUnknownHigh ()
 Gets high character of pair that triggered error. More...
 
char_t get_CharUnknownLow ()
 Gets low character of pair that triggered error. More...
 
int get_Index ()
 Gets position of character that triggered error in input array. More...
 

Detailed Description

Exception thrown by EncoderExceptionFallback when encoding fails. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type.

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.