public class Error extends Throwable
Erroris a subclass of
Throwablethat indicates serious problems that a reasonable application should not try to catch. Most such errors are abnormal conditions.
A method is not required to declare in its
clause any subclasses of
Error that might be thrown
during the execution of the method but not caught, since these
errors are abnormal conditions that should never occur.
|Constructor and Description|
Constructs an Error with the specified detail message.
Errorwith no specified detail message.
public Error(String s)
s- the detail message.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.