java.lang
Class Exception
- public class Exception
- extends Throwable
- The class
Exception
and its subclasses are a form of Throwable
that indicates conditions that a reasonable application might want to catch.
- Version:
- 1.27, 02/02/00
- Author:
- Frank Yellin
- Since:
- JDK1.0
- See Also:
- java.lang.Error
Exception
public Exception()
- Constructs an
Exception
with no specified detail message.
Exception
public Exception(String s)
- Constructs an
Exception
with the specified detail message.
- Parameters:
s
- the detail message.