java.lang
public class Error extends Throwable
ThreadDeath and AssertionError.
A method is not required to declare any subclass of Error in
its throws clause which might be thrown but not caught while
executing the method.
Since: 1.0
UNKNOWN: updated to 1.4
| Constructor Summary | |
|---|---|
| Error()
Create an error without a message. | |
| Error(String s)
Create an error with a message. | |
| Error(String s, Throwable cause)
Create an error with a message and a cause.
| |
| Error(Throwable cause)
Create an error with a given cause, and a message of
cause == null ? | |
See Also: Error
Parameters: s the message string
See Also: Error
Parameters: s the message string cause the cause of this error
Since: 1.4
cause == null ? null : cause.toString().
Parameters: cause the cause of this error
Since: 1.4