|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Throwable | |
java.awt | |
java.beans | |
java.io | |
java.lang | |
java.util |
Uses of Throwable in java.awt |
Subclasses of Throwable in java.awt | |
interface |
AWTError
Thrown when a serious Abstract Window Toolkit error has occurred. |
interface |
AWTException
Signals that an Absract Window Toolkit exception has occurred. |
interface |
IllegalComponentStateException
Signals that an AWT component is not in an appropriate state for the requested operation. |
Methods in java.awt that throw Throwable | |
protected void |
AWTEvent.finalize()
|
protected void |
Window.finalize()
Disposes of the input methods and context, and removes the WeakReference which formerly pointed to this Window from the parent's owned Window list. |
protected void |
Frame.finalize()
We have to remove the (hard) reference to weakThis in the Vector, otherwise the WeakReference instance will never get garbage collected. |
protected void |
Font.finalize()
Disposes the native Font object. |
Uses of Throwable in java.beans |
Subclasses of Throwable in java.beans | |
interface |
IntrospectionException
Thrown when an exception happens during Introspection. |
interface |
PropertyVetoException
A PropertyVetoException is thrown when a proposed change to a property represents an unacceptable value. |
Uses of Throwable in java.io |
Subclasses of Throwable in java.io | |
interface |
CharConversionException
base class for character conversion exceptions |
interface |
EOFException
Signals that an end of file or end of stream has been reached unexpectedly during input. |
interface |
FileNotFoundException
Signals that an attempt to open the file denoted by a specified pathname has failed. |
interface |
InterruptedIOException
Signals that an I/O operation has been interrupted. |
interface |
InvalidClassException
Thrown when the Serialization runtime detects one of the following problems with a Class. |
interface |
InvalidObjectException
Indicates that one or more deserialized objects failed validation tests. |
interface |
IOException
Signals that an I/O exception of some sort has occurred. |
interface |
NotActiveException
Thrown when serialization or deserialization is not active. |
interface |
NotSerializableException
Thrown when an instance is required to have a Serializable interface. |
interface |
ObjectStreamException
Superclass of all exceptions specific to Object Stream classes. |
interface |
OptionalDataException
Unexpected data appeared in an ObjectInputStream trying to read an Object. |
interface |
StreamCorruptedException
Thrown when control information that was read from an object stream violates internal consistency checks. |
interface |
SyncFailedException
|
interface |
UnsupportedEncodingException
The Character Encoding is not supported |
interface |
UTFDataFormatException
Signals that a malformed UTF-8 string has been read in a data input stream or by any class that implements the data input interface. |
interface |
WriteAbortedException
|
Uses of Throwable in java.lang |
Subclasses of Throwable in java.lang | |
interface |
AbstractMethodError
Thrown when an application tries to call an abstract method. |
interface |
ArithmeticException
Thrown when an exceptional arithmetic condition has occurred. |
interface |
ArrayIndexOutOfBoundsException
Thrown to indicate that an array has been accessed with an illegal index. |
interface |
ArrayStoreException
Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects. |
interface |
ClassCastException
Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance. |
interface |
ClassCircularityError
Thrown when a circularity has been detected while initializing a class. |
interface |
ClassFormatError
Thrown when the Java Virtual Machine attempts to read a class file and determines that the file is malformed or otherwise cannot be interpreted as a class file. |
interface |
ClassNotFoundException
Thrown when an application tries to load in a class through its string name using: The forName method in class Class . |
interface |
CloneNotSupportedException
Thrown to indicate that the clone method in class
Object has been called to clone an object, but that
the object's class does not implement the Cloneable
interface. |
interface |
Error
An Error is a subclass of Throwable
that indicates serious problems that a reasonable application
should not try to catch. |
interface |
Exception
The class Exception and its subclasses are a form of
Throwable that indicates conditions that a reasonable
application might want to catch. |
interface |
ExceptionInInitializerError
Signals that an unexpected exception has occurred in a static initializer. |
interface |
IllegalAccessError
Thrown if an application attempts to access or modify a field, or to call a method that it does not have access to. |
interface |
IllegalAccessException
Thrown when an application tries to load in a class through its string name using: The forName method in class Class . |
interface |
IllegalArgumentException
Thrown to indicate that a method has been passed an illegal or inappropriate argument. |
interface |
IllegalMonitorStateException
Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threads waiting on an object's monitor without owning the specified monitor. |
interface |
IllegalStateException
Signals that a method has been invoked at an illegal or inappropriate time. |
interface |
IllegalThreadStateException
Thrown to indicate that a thread is not in an appropriate state for the requested operation. |
interface |
IncompatibleClassChangeError
Thrown when an incompatible class change has occurred to some class definition. |
interface |
IndexOutOfBoundsException
Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. |
interface |
InstantiationError
Thrown when an application tries to use the Java new
construct to instantiate an abstract class or an interface. |
interface |
InstantiationException
Thrown when an application tries to create an instance of a class using the newInstance method in class
Class , but the specified class object cannot be
instantiated because it is an interface or is an abstract class. |
interface |
InternalError
Thrown to indicate some unexpected internal error has occurred in the Java Virtual Machine. |
interface |
InterruptedException
Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it using the interrupt method in class Thread . |
interface |
LinkageError
Subclasses of LinkageError indicate that a class has
some dependency on another class; however, the latter class has
incompatibly changed after the compilation of the former class. |
interface |
NegativeArraySizeException
Thrown if an application tries to create an array with negative size. |
interface |
NoClassDefFoundError
Thrown if the Java Virtual Machine or a classloader tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new
expression) and no definition of the class could be found. |
interface |
NoSuchFieldError
Thrown if an application tries to access or modify a specified field of an object, and that object no longer has that field. |
interface |
NoSuchFieldException
Signals that the class doesn't have a field of a specified name. |
interface |
NoSuchMethodError
Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method. |
interface |
NoSuchMethodException
Thrown when a particular method cannot be found. |
interface |
NullPointerException
Thrown when an application attempts to use null in a
case where an object is required. |
interface |
NumberFormatException
Thrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format. |
interface |
OutOfMemoryError
Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector. |
interface |
RuntimeException
RuntimeException is the superclass of those
exceptions that can be thrown during the normal operation of the
Java Virtual Machine. |
interface |
SecurityException
Thrown by the security manager to indicate a security violation. |
interface |
StackOverflowError
Thrown when a stack overflow occurs because an application recurses too deeply. |
interface |
StringIndexOutOfBoundsException
Thrown by the charAt method in class
String and by other String
methods to indicate that an index is either negative or greater
than or equal to the size of the string. |
interface |
ThreadDeath
An instance of ThreadDeath is thrown in the victim
thread when the stop method with zero arguments in
class Thread is called. |
interface |
UnknownError
Thrown when an unknown but serious exception has occurred in the Java Virtual Machine. |
interface |
UnsatisfiedLinkError
Thrown if the Java Virtual Machine cannot find an appropriate native-language definition of a method declared native . |
interface |
UnsupportedClassVersionError
Thrown when the Java Virtual Machine attempts to read a class file and determines that the major and minor version numbers in the file are not supported. |
interface |
UnsupportedOperationException
Thrown to indicate that the requested operation is not supported. |
interface |
VerifyError
Thrown when the "verifier" detects that a class file, though well formed, contains some sort of internal inconsistency or security problem. |
interface |
VirtualMachineError
Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating. |
Fields in java.lang declared as Throwable | |
private Throwable |
ExceptionInInitializerError.exception
This field holds the exception if the ExceptionInInitializerError(Throwable thrown) constructor was used to instantiate the object |
private Throwable |
ClassNotFoundException.ex
This field holds the exception ex if the ClassNotFoundException(String s, Throwable ex) constructor was used to instantiate the object |
Methods in java.lang that return Throwable | |
Throwable |
Throwable.fillInStackTrace()
Fills in the execution stack trace. |
Throwable |
ExceptionInInitializerError.getException()
Returns the exception that occurred during a static initialization that caused this Error to be created. |
Throwable |
ClassNotFoundException.getException()
Returns the exception that was raised if an error occurred while attempting to load the class. |
Methods in java.lang with parameters of type Throwable | |
void |
Thread.stop(Throwable obj)
Deprecated. This method is inherently unsafe. See Thread.stop()
(with no arguments) for details. An additional danger of this
method is that it may be used to generate exceptions that the
target thread is unprepared to handle (including checked
exceptions that the thread could not possibly throw, were it
not for this method).
For more information, see
Why
are Thread.stop, Thread.suspend and Thread.resume Deprecated?. |
void |
ThreadGroup.uncaughtException(Thread t,
Throwable e)
Called by the Java Virtual Machine when a thread in this thread group stops because of an uncaught exception. |
Methods in java.lang that throw Throwable | |
protected void |
Object.finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
Constructors in java.lang with parameters of type Throwable | |
ExceptionInInitializerError.ExceptionInInitializerError(Throwable thrown)
Constructs a new ExceptionInInitializerError class by
saving a reference to the Throwable object thrown for
later retrieval by the ExceptionInInitializerError.getException() method. |
|
ClassNotFoundException.ClassNotFoundException(String s,
Throwable ex)
Constructs a ClassNotFoundException with the
specified detail message and optional exception that was
raised while loading the class. |
Uses of Throwable in java.util |
Subclasses of Throwable in java.util | |
interface |
ConcurrentModificationException
This exception may be thrown by methods that have detected concurrent modification of a backing object when such modification is not permissible. |
interface |
EmptyStackException
Thrown by methods in the Stack class to indicate
that the stack is empty. |
interface |
MissingResourceException
Signals that a resource is missing. |
interface |
NoSuchElementException
Thrown by the nextElement method of an
Enumeration to indicate that there are no more
elements in the enumeration. |
interface |
TooManyListenersException
The TooManyListenersException Exception is used as part of
the Java Event model to annotate and implement a unicast special case of
a multicast Event Source. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |