Package ej.bon
Class IllegalStateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ej.bon.IllegalStateException
-
- All Implemented Interfaces:
Serializable
public class IllegalStateException extends RuntimeException
Signals that a method has been invoked at an illegal or inappropriate time. In other words, the Java environment or Java application is not in an appropriate state for the requested operation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IllegalStateException()Constructs an IllegalStateException with no detail message.IllegalStateException(String s)Constructs an IllegalStateException with the specified detail message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, toString
-
-
-
-
Constructor Detail
-
IllegalStateException
public IllegalStateException()
Constructs an IllegalStateException with no detail message.
-
IllegalStateException
public IllegalStateException(String s)
Constructs an IllegalStateException with the specified detail message.- Parameters:
s- the String that contains a detailed message
-
-