Package java.nio.charset
Class IllegalCharsetNameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.nio.charset.IllegalCharsetNameException
- All Implemented Interfaces:
Serializable
public class IllegalCharsetNameException extends IllegalArgumentException
An
IllegalCharsetNameException is thrown when an illegal charset name
is encountered.- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description IllegalCharsetNameException(String charsetName)Constructs a newIllegalCharsetNameExceptionwith the supplied charset name. -
Method Summary
Modifier and Type Method Description StringgetCharsetName()Returns the encountered illegal charset name.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IllegalCharsetNameException
Constructs a newIllegalCharsetNameExceptionwith the supplied charset name.- Parameters:
charsetName- the encountered illegal charset name.
-
-
Method Details
-
getCharsetName
Returns the encountered illegal charset name.
-