|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException java.io.CharConversionException com.novell.io.CharEncodingException
An exception designed to be thrown when a character cannot be encoded in a particular encoding. The exception gives the 32-bit character value, and the offset into whatever string or buffer the character occurred.
Constructor Summary | |
CharEncodingException(int value,
int offset,
int outputOffset)
Create an exception with the char value and offset |
Method Summary | |
String |
getMessage()
Get a human readable version of the character value |
int |
getOffset()
Get the offset into any buffer that the character came from. |
int |
getOutputOffset()
Get the offset info the output buffer offset that was current when the exception was thrown. |
int |
getValue()
Get the 32-bit character value that caused the exception |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CharEncodingException(int value, int offset, int outputOffset)
Method Detail |
public String getMessage()
public int getValue()
public int getOffset()
public int getOutputOffset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |