ComputerDictionaries.org      Computer terms spelled out...
Home -› AML -› Throwable
Online dictionary
From all dictionaries     Only from this dictionary
 

Dictionaries by Category


High-Tech News

Definition Of:

Throwable

AMLJDK Doc (JAVA)
- class java.lang..Throwable 
public class Throwable extends Object implements Serializable 
Tree:java.lang.Object - java.lang.Throwable
The Throwable class is the superclass of all errors and exceptions in the Java language. Only objects that are instances of this class (or of one of its subclasses) are thrown by the Java Virtual Machine or can be thrown by the Java throw statement. Similarly, only this class or one of its subclasses can be the argument type in a catch clause.
 
- Constructor for class java.lang.Throwable 
public Throwable ()
Constructs a new Throwable with null as its error message string. Also, the method fillInStackTrace() is called for this object.
 
- Constructor for class java.lang.Throwable 
public Throwable (String Â message)
Constructs a new Throwable with the specified error message. Also, the method is called for this object.Parameters: message - the error message. The error message is saved for later retrieval by the method.
See also: , , , ,