javax.microedition.io.file
Class IllegalModeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--javax.microedition.io.file.IllegalModeException

public class IllegalModeException
extends RuntimeException

A IllegalModeException indicates an unexpected error condition in a method.


Constructor Summary
IllegalModeException()
          Constructs a IllegalModeException with null as its error detail message.
IllegalModeException(String info)
          Constructs a IllegalModeException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalModeException

public IllegalModeException()
Constructs a IllegalModeException with null as its error detail message.

IllegalModeException

public IllegalModeException(String info)
Constructs a IllegalModeException with the specified detail message. The error message string s can later be retrieved by the Throwable.getMessage() method of class java.lang.Throwable.
Parameters:
reason - the detail message.