|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Exception | |
java.io | |
java.lang | |
java.lang.reflect | |
java.util |
Uses of Exception in java.io |
Subclasses of Exception 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. |
Fields in java.io declared as Exception | |
Exception |
WriteAbortedException.detail
The exception that was caused when writeObject() was attempting to serialize the object |
Constructors in java.io with parameters of type Exception | |
WriteAbortedException(java.lang.String detailMessage,
Exception rootCause)
Constructs a new instance of this class with its walkback, message and the exception which caused the underlying problem when serializing the object filled in. |
Uses of Exception in java.lang |
Subclasses of Exception in java.lang | |
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 |
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 |
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 |
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 |
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 |
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 |
InterruptedException
This exception is thrown when a waiting thread is activated before the condition it was waiting on has been satisfied. |
class |
NegativeArraySizeException
This runtime exception is thrown when an attempt is made to create an array whose size would be less than zero. |
class |
NoSuchFieldException
This exception is thrown when a program attempts to access a field which does not exist in a 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 |
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 |
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 |
TypeNotPresentException
Indicates that a class, interface, enum or annotation type cannot be found. |
class |
UnsupportedOperationException
This runtime exception is thrown when an unsupported operation is attempted. |
Uses of Exception in java.lang.reflect |
Subclasses of Exception in java.lang.reflect | |
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 |
Uses of Exception in java.util |
Subclasses of Exception 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. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |