📜  Java.util.Exceptions

📅  最后修改于: 2020-11-14 06:41:17             🧑  作者: Mango


介绍

java.util.Exceptions包含集合框架,旧式集合类,事件模型,日期和时间工具,国际化以及其他实用程序类(字符串标记符,随机数生成器和位数组)。

界面摘要

Sr.No. 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.