Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
java.nio |
Defines buffers, which are containers for data.
|
java.nio.channels |
Defines channels, which represent connections to entities that are capable of
performing I/O operations, such as files.
|
java.nio.file |
Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
|
java.security |
Provides the classes and interfaces for the security framework.
|
java.util |
Contains the collections framework, legacy collection classes, event model,
date and time facilities, random-number generator, and miscellaneous utility
classes.
|
Modifier and Type | Class and Description |
---|---|
class |
ArithmeticException
Thrown when an exceptional arithmetic condition has occurred.
|
class |
ArrayIndexOutOfBoundsException
Thrown to indicate that an array has been accessed with an
illegal index.
|
class |
ArrayStoreException
Thrown to indicate that an attempt has been made to store the
wrong type of object into an array of objects.
|
class |
ClassCastException
Thrown to indicate that the code has attempted to cast an object
to a subclass of which it is not an instance.
|
class |
IllegalArgumentException
Thrown to indicate that a method has been passed an illegal or
inappropriate argument.
|
class |
IllegalMonitorStateException
Thrown to indicate that a thread has attempted to wait on an
object's monitor or to notify other threads waiting on an object's
monitor without owning the specified monitor.
|
class |
IllegalStateException
Signals that a method has been invoked at an illegal or
inappropriate time.
|
class |
IllegalThreadStateException
Thrown to indicate that a thread is not in an appropriate state
for the requested operation.
|
class |
IndexOutOfBoundsException
Thrown to indicate that an index of some sort (such as to an array, to a
string, or to a vector) is out of range.
|
class |
NegativeArraySizeException
Thrown if an application tries to create an array with negative size.
|
class |
NullPointerException
Thrown when an application attempts to use
null in a
case where an object is required. |
class |
NumberFormatException
Thrown to indicate that the application has attempted to convert
a string to one of the numeric types, but that the string does not
have the appropriate format.
|
class |
SecurityException
Thrown by the security manager to indicate a security violation.
|
class |
StringIndexOutOfBoundsException
Thrown by
String methods to indicate that an index
is either negative or greater than the size of the string. |
class |
UnsupportedOperationException
Thrown to indicate that the requested operation is not supported.
|
Modifier and Type | Class and Description |
---|---|
class |
BufferOverflowException
Unchecked exception thrown when a relative put operation reaches
the target buffer's limit.
|
class |
BufferUnderflowException
Unchecked exception thrown when a relative get operation reaches
the source buffer's limit.
|
Modifier and Type | Class and Description |
---|---|
class |
IllegalBlockingModeException
Unchecked exception thrown when a blocking-mode-specific operation
is invoked upon a channel in the incorrect blocking mode.
|
class |
NonReadableChannelException
Unchecked exception thrown when an attempt is made to read
from a channel that was not originally opened for reading.
|
class |
NonWritableChannelException
Unchecked exception thrown when an attempt is made to write
to a channel that was not originally opened for writing.
|
Modifier and Type | Class and Description |
---|---|
class |
ClosedFileSystemException
Unchecked exception thrown when an attempt is made to invoke an operation on
a file and the file system is closed.
|
class |
DirectoryIteratorException
Runtime exception thrown if an I/O error is encountered when iterating over
the entries in a directory.
|
class |
InvalidPathException
Unchecked exception thrown when path string cannot be converted into a
Path because the path string contains invalid characters, or
the path string is invalid for other file system specific reasons. |
class |
ReadOnlyFileSystemException
Unchecked exception thrown when an attempt is made to update an object
associated with a
read-only FileSystem . |
Modifier and Type | Class and Description |
---|---|
class |
AccessControlException
This exception is thrown by the AccessController to indicate
that a requested access (to a critical system resource such as the
file system or the network) is denied.
|
Modifier and Type | Class and Description |
---|---|
class |
ConcurrentModificationException
This exception may be thrown by methods that have detected concurrent
modification of an object when such modification is not permissible.
|
class |
EmptyStackException
Thrown by methods in the
Stack class to indicate
that the stack is empty. |
class |
NoSuchElementException
Thrown by various accessor methods to indicate that the element being requested
does not exist.
|
Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. Use of this specification is subject to license terms.