public class DecodingException extends IOException
Indicates that decoding failured.
All decoding exception should be supplied with:
The following keys are frequently used when decoding:
Constructor and Description |
---|
DecodingException(HumanReadableText key,
String s)
Constructs a decoding exception
|
DecodingException(HumanReadableText key,
String s,
Throwable t)
Constructs a decoding exception.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause() |
HumanReadableText |
getKey()
Gets the message key.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DecodingException(HumanReadableText key, String s)
key
- coursely grained i18n, not nulls
- specific description suitable for logging, not nullpublic DecodingException(HumanReadableText key, String s, Throwable t)
key
- coursely grained i18n, not nulls
- specific description suitable for logging, not nullt
- cause, not nullpublic final HumanReadableText getKey()
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.