Uses of Class
java.lang.Throwable
- 
Packages that use Throwable Package Description java.io java.lang 
- 
- 
Uses of Throwable in java.ioSubclasses of Throwable in java.io Modifier and Type Class Description classIOErrorThis error is thrown when a severe I/O error has happened.classIOExceptionSignals a general, I/O-related error.Constructors in java.io with parameters of type Throwable Constructor Description IOError(Throwable cause)Constructs a new instance with its cause filled in.IOException(String message, Throwable cause)Constructs a new instance of this class with detail message and cause filled in.IOException(Throwable cause)Constructs a new instance of this class with its detail cause filled in.
- 
Uses of Throwable in java.langSubclasses of Throwable in java.lang Modifier and Type Class Description classArithmeticExceptionThrown when the an invalid arithmetic operation is attempted.classArrayIndexOutOfBoundsExceptionThrown when the an array is indexed with a value less than zero, or greater than or equal to the size of the array.classArrayStoreExceptionThrown when a program attempts to store an element of an incompatible type in an array.classClassCastExceptionThrown when a program attempts to cast a an object to a type with which it is not compatible.classClassNotFoundExceptionThrown when an application tries to load in a class through its string name using: TheforNamemethod in classClass.classErrorErroris the superclass of all classes that represent unrecoverable errors.classExceptionExceptionis the superclass of all classes that represent recoverable exceptions.classIllegalArgumentExceptionThrown when a method is invoked with an argument which it can not reasonably deal with.classIncompatibleClassChangeErrorIncompatibleClassChangeErroris the superclass of all classes which represent errors that occur when inconsistent class files are loaded into the same running image.classIndexOutOfBoundsExceptionThrown when a program attempts to access a value in an indexable collection using a value which is outside of the range of valid indices.classLinkageErrorLinkageErroris the superclass of all error classes that occur when loading and linking class files.classNegativeArraySizeExceptionThrown when an attempt is made to create an array with a size of less than zero.classNoSuchFieldErrorThrown when the VM notices that a program tries to reference, on a class or object, a field that does not exist.classNoSuchFieldExceptionThrown when the VM notices that a program tries to reference, on a class or object, a field that does not exist.classNoSuchMethodErrorThrown when the VM notices that a program tries to reference, on a class or object, a method that does not exist.classNoSuchMethodExceptionThrown when the VM notices that a program tries to reference, on a class or object, a method that does not exist.classNullPointerExceptionThrown when a program tries to access a field or method of an object or an element of an array when there is no instance or array to use, that is if the object or array points tonull.classNumberFormatExceptionThrown when an invalid value is passed to a string-to-number conversion method.classReflectiveOperationExceptionSuperclass of exceptions related to reflection.classRuntimeExceptionRuntimeExceptionis the superclass of all classes that represent exceptional conditions which occur as a result of executing an application in the VM.Methods in java.lang that return Throwable Modifier and Type Method Description ThrowableClassNotFoundException. getCause()Returns the cause of this exception (the exception that was raised if an error occurred while attempting to load the class; otherwisenull).ThrowableClassNotFoundException. getException()Returns the exception that was raised if an error occurred while attempting to load the class.Constructors in java.lang with parameters of type Throwable Constructor Description ClassNotFoundException(String s, Throwable ex)Constructs aClassNotFoundExceptionwith the specified detail message and optional exception that was raised while loading the class.Error(String detailMessage, Throwable throwable)Constructs a newErrorwith the current stack trace, the specified detail message and the specified cause.Error(Throwable throwable)Constructs a newErrorwith the current stack trace and the specified cause.Exception(String detailMessage, Throwable throwable)Constructs a newExceptionwith the current stack trace, the specified detail message and the specified cause.Exception(Throwable throwable)Constructs a newExceptionwith the current stack trace and the specified cause.IllegalArgumentException(String message, Throwable cause)Constructs a newIllegalArgumentExceptionwith the current stack trace, the specified detail message and the specified cause.IllegalArgumentException(Throwable cause)Constructs a newIllegalArgumentExceptionwith the current stack trace and the specified cause.LinkageError(String detailMessage, Throwable cause)Constructs a newLinkageErrorwith the given detail message and cause.ReflectiveOperationException(String message, Throwable cause)Constructs a new exception with the given detail message and cause.ReflectiveOperationException(Throwable cause)Constructs a new exception with the given cause.RuntimeException(String detailMessage, Throwable throwable)Constructs a newRuntimeExceptionwith the current stack trace, the specified detail message and the specified cause.RuntimeException(Throwable throwable)Constructs a newRuntimeExceptionwith the current stack trace and the specified cause.Throwable(String message, Throwable cause)Throwable(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)Throwable(Throwable cause)
 
-