Thursday, January 19, 2017

Java.util.Exceptions

Introduction

The java.util.Exceptions contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).

Interface Summary

S.N. Intreface & Description
1 ConcurrentModificationException
This exception may be thrown by methods that have detected concurrent modification of an object when such modification is not permissible.
2 DuplicateFormatFlagsException
This is the Unchecked exception thrown when duplicate flags are provided in the format specifier.
3 EmptyStackException
This is thrown by methods in the Stack class to indicate that the stack is empty.
4 FormatFlagsConversionMismatchException
This is the Unchecked exception thrown when a conversion and flag are incompatible.
5 FormatterClosedException
This is the Unchecked exception thrown when the formatter has been closed.
6 IllegalFormatCodePointException
This is the Unchecked exception thrown when a character with an invalid Unicode code point as defined by Character.isValidCodePoint(int) is passed to the Formatter.
7 IllegalFormatConversionException
This is the Unchecked exception thrown when the argument corresponding to the format specifier is of an incompatible type.
8 IllegalFormatException
This is the Unchecked exception thrown when a format string contains an illegal syntax or a format specifier that is incompatible with the given arguments.
9 IllegalFormatFlagsException
This is the Unchecked exception thrown when an illegal combination flags is given.
10 IllegalFormatPrecisionException
This is the Unchecked exception thrown when the precision is a negative value other than -1, the conversion does not support a precision, or the value is otherwise unsupported.
11 IllegalFormatWidthException
This is the Unchecked exception thrown when the format width is a negative value other than -1 or is otherwise unsupported.
12 InputMismatchException
This is thrown by a Scanner to indicate that the token retrieved does not match the pattern for the expected type, or that the token is out of range for the expected type.
13 InvalidPropertiesFormatException
This is thrown to indicate that an operation could not complete because the input did not conform to the appropriate XML document type for a collection of properties, as per the Properties specification.
14 MissingFormatArgumentException
This is the Unchecked exception thrown when there is a format specifier which does not have a corresponding argument or if an argument index refers to an argument that does not exist.
15 MissingFormatWidthException
This is the Unchecked exception thrown when the format width is required.
16 MissingResourceException
This signals that a resource is missing.
17 NoSuchElementException
This is thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.
18 TooManyListenersException
This is used as part of the Java Event model to annotate and implement a unicast special case of a multicast Event Source.
19 UnknownFormatConversionException
This is the Unchecked exception thrown when an unknown conversion is given.
20 UnknownFormatFlagsException
This is the Unchecked exception thrown when an unknown flag is given.

No comments:

Post a Comment