Uses of Class
java.lang.Throwable

Packages that use Throwable
java.io   
java.lang   
java.lang.reflect   
java.util   
 

Uses of Throwable in java.io
 

Subclasses of Throwable in java.io
 class CharConversionException
          This is the top level class for character conversion exceptions.
 class EOFException
          This End Of File (EOF) exception is thrown when a program encounters the end of a file or stream during an operation.
 class FileNotFoundException
          This IO exception is thrown when a file specified by a program cannot be found.
 class InterruptedIOException
          This IO exception is thrown when a program reading or writing to a stream is interrupted.
 class InvalidClassException
          A problem was found with the class of one of the objects being serialized or deserialized.
 class InvalidObjectException
          The object graph loaded (deserialized) can be validated by a collection of validator objects.
 class IOException
          This IO exception is thrown when a program encounters some sort I/O error.
 class NotActiveException
          Some methods in ObjectInputStream and ObjectOutputStream can only be called from a nested call to readObject() or writeObject().
 class NotSerializableException
          When an implementation of ObjectOutput.writeObject() is passed an object that is not serializable, it will throw this type of exception.
 class ObjectStreamException
          This is the superclass of all exceptions that can happen when serializing or deserialing objects.
 class OptionalDataException
          When readObject() encounters primitive types (int, char, etc) instead of an object instance in the input stream, this type of exception will be thrown.
 class StreamCorruptedException
          When readObject() cannot read an object from the input stream due to missing information (cyclic reference that doesn't match previous instance or missing class descriptor for instance to be loaded) this type of exception is thrown.
 class SyncFailedException
          This IO exception is thrown when the method sync() in FileDescriptor failed to complete.
 class UnsupportedEncodingException
          This IO exception is thrown when a program asks for a particular character converter and it is not available.
 class UTFDataFormatException
          This IO exception is thrown when a program attempts to read a UTF-8 String and the encoding is incorrect.
 class WriteAbortedException
          This type of exception is thrown by readObject() when it detects an exception marker in the input stream.
 

Methods in java.io that return Throwable
 Throwable WriteAbortedException.getCause()
          Answers the cause of this Throwable, or null if there is no cause.
 

Uses of Throwable in java.lang
 

Subclasses of Throwable in java.lang
 class AbstractMethodError
          This error is thrown when the VM notices that a an attempt is being made to invoke an abstract method.
 class ArithmeticException
          This runtime exception is thrown when the an invalid arithmetic operation is attempted.
 class ArrayIndexOutOfBoundsException
          This runtime exception is thrown when the an array is indexed with a value less than zero, or greater than or equal to the size of the array.
 class ArrayStoreException
          This runtime exception is thrown when a program attempts to store into an array an element of a a type which the array can not hold..
 class AssertionError
           Indicates that an assertion has failed.
 class ClassCastException
          This runtime exception is thrown when a program attempts to cast a an object to a type which it is not compatible with.
 class ClassCircularityError
          This error is thrown when the VM notices that an attempt is made to load a class which would directly or indirectly inherit from one of its subclasses.
 class ClassFormatError
          This error is thrown by the class loader when it discovers that a class that it is loading does not have the correct shape.
 class ClassNotFoundException
          This exception is thrown when a classloader is unable to find a class.
 class CloneNotSupportedException
          This exception is thrown when a program attempts to clone an object which does not support the Cloneable interface.
 class Error
          This class is the superclass of all classes which represent unrecoverable errors.
 class Exception
          This class is the superclass of all classes which represent recoverable exceptions.
 class ExceptionInInitializerError
          This error is thrown when an exception occurs during class initialization.
 class IllegalAccessError
          This error is thrown when the VM notices that a an attempt is being made to access a field which is not accessable from where it is referenced.
 class IllegalAccessException
          This exception is thrown when a program attempts to access a field or method which is not accessible from the location where the reference is made.
 class IllegalArgumentException
          This runtime exception is thrown when a method is invoked with an argument which it can not reasonably deal with.
 class IllegalMonitorStateException
          This runtime exception is thrown when a monitor operation is attempted when the monitor is not in the correct state, for example when a thread attempts to exit a monitor which it did not own.
 class IllegalStateException
          This runtime exception is thrown when an action is attempted at a time when the virtual machine is not in the correct state.
 class IllegalThreadStateException
          This runtime exception is thrown when an operation is attempted which is not possible given the state that the executing thread is in.
 class IncompatibleClassChangeError
          This class is the superclass of all classes which represent errors which occur when inconsistant class files are loaded into the same running image.
 class IndexOutOfBoundsException
          This runtime exception is thrown when a program attempts to access a value in an indexable collection using a value which is outside the possible range of indices.
 class InstantiationError
          This error is thrown when the VM notices that a an attempt is being made to create a new instance of a class which has no visible constructors from the location where new is invoked.
 class InstantiationException
          This exception is thrown when a program attempts to access a constructor which is not accessible from the location where the reference is made.
 class InternalError
          This error is thrown when the VM notices that it has gotten into a state which it does not understand.
 class InterruptedException
          This exception is thrown when a waiting thread is activated before the condition it was waiting on has been satisfied.
 class LinkageError
          This class is the superclass of all classes which represent errors that occur when loading and linking class files.
 class NegativeArraySizeException
          This runtime exception is thrown when an attempt is made to create an array whose size would be less than zero.
 class NoClassDefFoundError
          This error is thrown when the VM is unable to locate a class which it has been asked to load.
 class NoSuchFieldError
          This error is thrown when the VM notices that a an attempt is being made to reference a field of a class which does not exist in that class.
 class NoSuchFieldException
          This exception is thrown when a program attempts to access a field which does not exist in a class
 class NoSuchMethodError
          This error is thrown when the VM notices that a an attempt is being made to reference a method of a class which does not exist in that class.
 class NoSuchMethodException
          This exception is thrown when a program attempts to access a method which does not exist in a class.
 class NullPointerException
          This runtime exception is thrown when an attempt is made to access a field or method of an instance or an element of an array when there is no instance or array to use (i.e. the pointer is null).
 class NumberFormatException
          This runtime exception is thrown when a "string to number" conversion routine is passed an invalid value.
 class OutOfMemoryError
          This error is thrown when a request is made for more memory either as a result of the running program, or because of the internal behavior of the virtual machine which can not be satisfied using the available platform resources.
 class RuntimeException
          This class is the superclass of all classes which represent exceptional conditions which occur as a result of the running of the virtual machine.
 class SecurityException
          This runtime exception is thrown when a security manager check fails.
 class StackOverflowError
          This error is thrown when the depth of the callstack of the running program excedes some platform or virtual machine specific limit.
 class StringIndexOutOfBoundsException
          This runtime exception is thrown when the a String is indexed with a value less than zero, or greater than or equal to the size of the array.
 class ThreadDeath
          ThreadDeath is thrown when a thread stops executing.
 class TypeNotPresentException
           Indicates that a class, interface, enum or annotation type cannot be found.
 class UnknownError
          This error is thrown when the virtual machine must throw an error which does not match any known exceptional condition.
 class UnsatisfiedLinkError
          This error is thrown when an attempt is made to invoke a native for which an implementation could not be found.
 class UnsupportedClassVersionError
          This error is thrown when an attempt is made to load a class with a format version that is not supported by the VM.
 class UnsupportedOperationException
          This runtime exception is thrown when an unsupported operation is attempted.
 class VerifyError
          This error is thrown when the VM notices that an attempt is made to load a class which does not pass the class verification phase.
 class VirtualMachineError
          This class is the superclass of all classes which represent errors that occur during the operation of the virtual machine.
 

Methods in java.lang that return Throwable
 Throwable ClassNotFoundException.getException()
          Answers the exception which occured when loading the class.
 Throwable ClassNotFoundException.getCause()
          Answers the cause of this Throwable, or null if there is no cause.
 Throwable Throwable.getCause()
          Returns the cause of this throwable or null if the cause is nonexistent or unknown.
 Throwable Throwable.initCause(Throwable cause)
          Initializes the cause of this throwable to the specified value.
 Throwable Throwable.fillInStackTrace()
          Fills in the execution stack trace.
 Throwable ExceptionInInitializerError.getException()
          Answers the exception which was passed in when the instance was created.
 Throwable ExceptionInInitializerError.getCause()
          Answers the cause of this Throwable, or null if there is no cause.
 

Methods in java.lang with parameters of type Throwable
 Throwable Throwable.initCause(Throwable cause)
          Initializes the cause of this throwable to the specified value.
 

Constructors in java.lang with parameters of type Throwable
TypeNotPresentException(java.lang.String typeName, Throwable cause)
           Constructs an instance will a fully qualified type name and an optional cause.
UnsupportedOperationException(java.lang.String message, Throwable cause)
          Constructs a new instance with a message and cause.
UnsupportedOperationException(Throwable cause)
          Constructs a new instance with a cause.
IllegalStateException(java.lang.String message, Throwable cause)
          Constructs a new instance with a message and cause.
IllegalStateException(Throwable cause)
          Constructs a new instance with a cause.
IllegalArgumentException(java.lang.String message, Throwable cause)
          Constructs a new instance with a message and cause.
IllegalArgumentException(Throwable cause)
          Constructs a new instance with a cause.
ClassNotFoundException(java.lang.String detailMessage, Throwable exception)
          Constructs a new instance of this class with its walkback, message and exception filled in.
RuntimeException(java.lang.String detailMessage, Throwable throwable)
          Constructs a new instance of this class with its walkback, message and cause filled in.
RuntimeException(Throwable throwable)
          Constructs a new instance of this class with its walkback and cause filled in.
Exception(java.lang.String detailMessage, Throwable throwable)
          Constructs a new instance of this class with its walkback, message and cause filled in.
Exception(Throwable throwable)
          Constructs a new instance of this class with its walkback and cause filled in.
Error(java.lang.String detailMessage, Throwable throwable)
          Constructs a new instance of this class with its walkback, message and cause filled in.
Error(Throwable throwable)
          Constructs a new instance of this class with its walkback and cause filled in.
Throwable(java.lang.String message, Throwable cause)
          Constructs a new throwable with the specified detail message and cause.
Throwable(Throwable cause)
          Constructs a new throwable with the specified cause and a detail message of (cause==null ?
SecurityException(java.lang.String message, Throwable cause)
          Constructs a new instance with a message and cause.
SecurityException(Throwable cause)
          Constructs a new instance with a cause.
ExceptionInInitializerError(Throwable exception)
          Constructs a new instance of this class with its walkback and exception filled in.
 

Uses of Throwable in java.lang.reflect
 

Subclasses of Throwable in java.lang.reflect
 class GenericSignatureFormatError
           Indicates that a malformed signature has been encountered via a reflective method.
 class InvocationTargetException
          This class provides a wrapper for an exception thrown by a Method or Constructor invocation.
 class MalformedParameterizedTypeException
           Indicates that a malformed parameterized type has been accessed by a reflected method.
 class UndeclaredThrowableException
          This class provides a wrapper for an unexpected exception thrown by an InvocationHandler
 

Methods in java.lang.reflect that return Throwable
 Throwable InvocationTargetException.getTargetException()
          Answers the exception which caused the receiver to be thrown.
 Throwable InvocationTargetException.getCause()
          Answers the cause of this Throwable, or null if there is no cause.
 Throwable UndeclaredThrowableException.getUndeclaredThrowable()
          Answers the exception which caused the receiver to be thrown.
 Throwable UndeclaredThrowableException.getCause()
          Answers the cause of this Throwable, or null if there is no cause.
 

Methods in java.lang.reflect that throw Throwable
 java.lang.Object InvocationHandler.invoke(java.lang.Object proxy, Method method, java.lang.Object[] args)
          Processes a method invocation on a proxy instance and returns the result.
 

Constructors in java.lang.reflect with parameters of type Throwable
InvocationTargetException(Throwable exception)
          Constructs a new instance of this class with its walkback and target exception filled in.
InvocationTargetException(Throwable exception, java.lang.String detailMessage)
          Constructs a new instance of this class with its walkback, target exception and message filled in.
UndeclaredThrowableException(Throwable exception)
          Constructs a new instance of this class with its walkback and target exception filled in.
UndeclaredThrowableException(Throwable exception, java.lang.String detailMessage)
          Constructs a new instance of this class with its walkback, target exception and message filled in.
 

Uses of Throwable in java.util
 

Subclasses of Throwable in java.util
 class ConcurrentModificationException
          This runtime exception is thrown when a Collection is modified and an existing iterator on the Collection is used to modify the Collection as well.
 class DuplicateFormatFlagsException
          The unchecked exception will be thrown out if there are duplicate flags given out in the format specifier.
 class EmptyStackException
          Runtime exception which is thrown when pop/peek method of stack is executed on a stack which is empty
 class FormatFlagsConversionMismatchException
          The unchecked exception will be thrown out if a conversion and flags are incompatible.
 class FormatterClosedException
          The unchecked exception will be thrown out if the formatter has been closed.
 class IllegalFormatCodePointException
          The unchecked exception will be thrown out if an invalid Unicode code point, which is Character.isValidCodePoint(int), is passed as a parameter to Formatter.
 class IllegalFormatConversionException
          The unchecked exception will be thrown out when the parameter is incompatible with the corresponding format specifier.
 class IllegalFormatException
          Unchecked Exception that is to be thrown out when a format string that contains either an illegal syntax or format specifier is transferred as a parameter.
 class IllegalFormatFlagsException
          The unchecked exception will be thrown out if the combination of the format flags is illegal.
 class IllegalFormatPrecisionException
          The unchecked exception will be thrown out when the precision is a negative other than -1, or the conversion does not support a precision or other cases when the precision is not supported.
 class IllegalFormatWidthException
          The unchecked exception will be thrown out when the width is a negative other than -1, or the conversion does not support a width or other cases when the width is not supported.
 class InputMismatchException
          An InputMismatchException is thrown by a scanner to indicate that the next token does not match the pattern the specified type.
 class InvalidPropertiesFormatException
           
 class MissingFormatArgumentException
          The unchecked exception will be thrown out if there no corresponding argument with the specified conversion or an argument index that refers to an unexisting argument.
 class MissingFormatWidthException
          The unchecked exception will be thrown out if the format width is missing but is required.
 class MissingResourceException
          This runtime exception is thrown by ResourceBundle when a resouce bundle cannot be found or a resource is missing from a resource bundle.
 class NoSuchElementException
          This runtime exception is thrown when trying to retrieve an element past the end of an Enumeration, or the first or last element from an empty Vector.
 class TooManyListenersException
          This exception is thrown when an attempt is made to add more than one listener to an event source which only supports a single listener.
 class UnknownFormatConversionException
          The unchecked exception will be thrown out if the format conversion is unknown.
 class UnknownFormatFlagsException
          The unchecked exception will be thrown out if there is an unknown flag.
 

Constructors in java.util with parameters of type Throwable
InvalidPropertiesFormatException(Throwable c)