Build 1.0_r1(from source)

java.nio.charset
Class IllegalCharsetNameException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by 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

Constructor Summary
IllegalCharsetNameException(String charset)
          Constructs an instance of this exception with the supplied charset name.
 
Method Summary
 String getCharsetName()
          Gets the encountered illegal charset name.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalCharsetNameException

public IllegalCharsetNameException(String charset)
Constructs an instance of this exception with the supplied charset name.

Parameters:
charset - the encountered illegal charset name
Method Detail

getCharsetName

public String getCharsetName()
Gets the encountered illegal charset name.

Returns:
the encountered illegal charset name

Build 1.0_r1(from source)

Please submit a feedback, bug or feature