public class DecodeException extends Exception
| Constructor and Description |
|---|
DecodeException(ByteBuffer bb,
String message)
Constructs a DecodedException with the given ByteBuffer that cannot
be decoded, and reason why.
|
DecodeException(ByteBuffer bb,
String message,
Throwable cause) |
DecodeException(String encodedString,
String message)
Constructs a DecodedException with the given encoded string that cannot
be decoded, and reason why.
|
DecodeException(String encodedString,
String message,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
getBytes()
Return the ByteBuffer that cannot be decoded.
|
String |
getText()
Return the encoded string that cannot be decoded.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DecodeException(ByteBuffer bb, String message, Throwable cause)
public DecodeException(ByteBuffer bb, String message)
bb - message - public DecodeException(String encodedString, String message)
bb - message - public ByteBuffer getBytes()
public String getText()
Copyright © 2012. All Rights Reserved.