public class

Exception

extends Throwable
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.

See Also

Summary

Public Constructors
Exception()
Constructs an Exception with no specified detail message.
Exception(String s)
Constructs an Exception with the specified detail message.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public Exception ()

Constructs an Exception with no specified detail message.

public Exception (String s)

Constructs an Exception with the specified detail message.

Parameters
s the detail message.