THE PACKAGE JAVA.LANG
java.lang.Throwable
 and its Subclasses
20.22
20.22 The Class
java.lang.Throwable
 and its Subclasses
The
throw
 statement ( 14.16) is permitted to throw only instances of the class
Throwable
 and its subclasses. Instances of two subclasses,
Error
 and
Excep 
tion
, are conventionally used to indicate that exceptional situations have
occurred. Typically, these instances are freshly created in the context of the excep 
tional situation so as to include relevant information (such as stack trace data).
The following list shows the hierarchical relationships of all the exception
classes predefined in package
java.lang
 by the Java language:
Throwable
Error
LinkageError
ClassCircularityError
ClassFormatError
ExceptionInInitializerError
IncompatibleClassChangeError
AbstractMethodError
IllegalAccessError
InstantiationError
NoSuchFieldError
NoSuchMethodError
NoClassDefFoundError
UnsatisfiedLinkError
VerifyError
VirtualMachineError
InternalError
OutOfMemoryError
StackOverflowError
UnknownError
ThreadDeath
Exception
ClassNotFoundException
CloneNotSupportedException
IllegalAccessException
InstantiationException
InterruptedException
RuntimeException
ArithmeticException
ArrayStoreException
ClassCastException
IllegalArgumentException
IllegalThreadStateException
NumberFormatException
IllegalMonitorStateException
IndexOutOfBoundsException
NegativeArraySizeException
NullPointerException
SecurityException
611






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

java hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved