Package java.lang Previous
Previous
Java API
Java API
Index
Index
Next
Next

Class Exception

Constructors

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 .


Constructors


Exception

public Exception() 

Constructs an Exception with no specified detail message.


Exception

public Exception(String  s) 

Constructs a Exception with the specified detail message.

ParameterDescription
s the detail message



© 1996 Sun Microsystems, Inc. All rights reserved.