public class UnsupportedCharsetException extends IllegalArgumentException
UnsupportedCharsetException
is thrown when an unsupported charset
name is encountered.Constructor and Description |
---|
UnsupportedCharsetException(String charsetName)
Constructs a new
UnsupportedCharsetException with the supplied
charset name. |
Modifier and Type | Method and Description |
---|---|
String |
getCharsetName()
Gets the encountered unsupported charset name.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnsupportedCharsetException(String charsetName)
UnsupportedCharsetException
with the supplied
charset name.charsetName
- the encountered unsupported charset name.public String getCharsetName()