java.nio.charset
Class MalformedInputException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.nio.charset.CharacterCodingException
                  extended by java.nio.charset.MalformedInputException
All Implemented Interfaces:
Serializable

public class MalformedInputException
extends java.nio.charset.CharacterCodingException

Disabled: no SafeJ information.

Checked exception thrown when an input byte sequence is not legal for given charset, or an input character sequence is not a legal sixteen-bit Unicode sequence.

Since:
1.4
See Also:
Serialized Form

Constructor Summary
MalformedInputException(int inputLength)
           
 
Method Summary
 int getInputLength()
           
 String getMessage()
          Returns the detail message string of this throwable.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

MalformedInputException

public MalformedInputException(int inputLength)
Class is disabled.

Method Detail

getInputLength

public int getInputLength()
Class is disabled.


getMessage

public String getMessage()
Suppressed. can be nondeterministic, e.g. for ClassCastException

Description copied from class: Throwable
Returns the detail message string of this throwable.

Overrides:
getMessage in class Throwable
Returns:
the detail message string of this Throwable instance (which may be null).