Package java.lang |
![]() Previous |
![]() Java API |
![]() Index |
![]() Next |
public class java.lang.Exception extends java.lang.Throwable { // Constructors public Exception(); public Exception(String s); }
The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
See Also: Error .
public Exception()Constructs an Exception with no specified detail message.
public Exception(String s)Constructs a Exception with the specified detail message.
Parameter Description s the detail message
© 1996 Sun Microsystems, Inc. All rights reserved.