Tuesday 12 March 2013

java.lang Exception


java.lang
Exception

Declaration
public class Exception extends Throwable
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
Direct Known Subclasses: ClassNotFoundException, IllegalAccessException,
InstantiationException, InterruptedException, java.io.IOException,
RuntimeException
Description
The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable
application might want to catch.
Since: JDK1.0, CLDC 1.0

Constructors
Exception()
Exception(String s)

Methods inherited from class Object
equals(Object), getClass(), hashCode(), notify(), notifyAll(), wait(), wait(), wait()
Methods inherited from class Throwable
getMessage(), printStackTrace(), toString()

Constructors
Exception()
Declaration:
public Exception()
Description:
Constructs an Exception with no specified detail message.
Exception(String)
Declaration:
public Exception(java.lang.String s)
Description:
Constructs an Exception with the specified detail message.
Parameters:
s - the detail message.



No comments:

Post a Comment