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
Thrown when an illegal charset name is encountered.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IllegalCharsetNameException
public IllegalCharsetNameException(String charset)
- Constructs an instance of this exception with the supplied charset name.
- Parameters:
charset - the encountered illegal charset name
getCharsetName
public String getCharsetName()
- Gets the encountered illegal charset name.
- Returns:
- the encountered illegal charset name
Please submit a feedback, bug or feature