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.
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.