|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Exception | |
|---|---|
| java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images. |
| java.awt.color | Provides classes for color spaces. |
| java.awt.datatransfer | Provides interfaces and classes for transferring data between and within applications. |
| java.awt.dnd | Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. |
| java.awt.event | Provides interfaces and classes for dealing with different types of events fired by AWT components. |
| java.awt.geom | Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry. |
| java.awt.im.spi | Provides interfaces that enable the development of input methods that can be used with any Java runtime environment. |
| java.awt.image | Provides classes for creating and modifying images. |
| java.awt.print | Provides classes and interfaces for a general printing API. |
| java.beans | Contains classes related to developing beans -- components based on the JavaBeansTM architecture. |
| java.io | Provides for system input and output through data streams, serialization and the file system. |
| java.lang | Provides classes that are fundamental to the design of the Java programming language. |
| java.lang.annotation | Provides library support for the Java programming language annotation facility. |
| java.lang.instrument | Provides services that allow Java programming language agents to instrument programs running on the JVM. |
| java.lang.reflect | Provides classes and interfaces for obtaining reflective information about classes and objects. |
| java.net | Provides the classes for implementing networking applications. |
| java.nio | Defines buffers, which are containers for data, and provides an overview of the other NIO packages. |
| java.nio.channels | Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations. |
| java.nio.charset | Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. |
| java.rmi | Provides the RMI package. |
| java.rmi.activation | Provides support for RMI Object Activation. |
| java.rmi.server | Provides classes and interfaces for supporting the server side of RMI. |
| java.security | Provides the classes and interfaces for the security framework. |
| java.security.acl | The classes and interfaces in this package have been superseded by classes in the java.security package. |
| java.security.cert | Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. |
| java.security.spec | Provides classes and interfaces for key specifications and algorithm parameter specifications. |
| java.sql | Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language. |
| java.text | Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. |
| java.util | 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). |
| java.util.concurrent | Utility classes commonly useful in concurrent programming. |
| java.util.jar | Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file. |
| java.util.logging | Provides the classes and interfaces of the JavaTM 2 platform's core logging facilities. |
| java.util.prefs | This package allows applications to store and retrieve user and system preference and configuration data. |
| java.util.regex | Classes for matching character sequences against patterns specified by regular expressions. |
| java.util.zip | Provides classes for reading and writing the standard ZIP and GZIP file formats. |
| javax.activation | |
| javax.activity | Contains Activity service related exceptions thrown by the ORB machinery during unmarshalling. |
| javax.annotation.processing | Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment. |
| javax.crypto | Provides the classes and interfaces for cryptographic operations. |
| javax.imageio | The main package of the Java Image I/O API. |
| javax.imageio.metadata | A package of the Java Image I/O API dealing with reading and writing metadata. |
| javax.lang.model.element | Interfaces used to model elements of the Java programming language. |
| javax.lang.model.type | Interfaces used to model Java programming language types. |
| javax.management | Provides the core classes for the Java Management Extensions. |
| javax.management.loading | Provides the classes which implement advanced dynamic loading. |
| javax.management.modelmbean | Provides the definition of the ModelMBean classes. |
| javax.management.monitor | Provides the definition of the monitor classes. |
| javax.management.openmbean | Provides the open data types and Open MBean descriptor classes. |
| javax.management.relation | Provides the definition of the Relation Service. |
| javax.management.remote | Interfaces for remote access to JMX MBean servers. |
| javax.management.timer | Provides the definition of the Timer MBean. |
| javax.naming | Provides the classes and interfaces for accessing naming services. |
| javax.naming.directory | Extends the javax.naming package to provide functionality for accessing directory services. |
| javax.naming.ldap | Provides support for LDAPv3 extended operations and controls. |
| javax.naming.spi | Provides the means for dynamically plugging in support for accessing naming and directory services through the javax.naming and related packages. |
| javax.net.ssl | Provides classes for the secure socket package. |
| javax.print | Provides the principal classes and interfaces for the JavaTM Print Service API. |
| javax.print.attribute | Provides classes and interfaces that describe the types of JavaTM Print Service attributes and how they can be collected into attribute sets. |
| javax.script | The scripting API consists of interfaces and classes that define Java TM Scripting Engines and provides a framework for their use in Java applications. |
| javax.security.auth | This package provides a framework for authentication and authorization. |
| javax.security.auth.callback | This package provides the classes necessary for services to interact with applications in order to retrieve information (authentication data including usernames or passwords, for example) or to display information (error and warning messages, for example). |
| javax.security.auth.login | This package provides a pluggable authentication framework. |
| javax.security.cert | Provides classes for public key certificates. |
| javax.security.sasl | Contains class and interfaces for supporting SASL. |
| javax.sound.midi | Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data. |
| javax.sound.sampled | Provides interfaces and classes for capture, processing, and playback of sampled audio data. |
| javax.sql.rowset | Standard interfaces and base classes for JDBC RowSet
implementations. |
| javax.sql.rowset.serial | Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language. |
| javax.sql.rowset.spi | The standard classes and interfaces that a third party vendor has to use in its implementation of a synchronization provider. |
| javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. |
| javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components. |
| javax.swing.tree | Provides classes and interfaces for dealing with
javax.swing.JTree. |
| javax.swing.undo | Allows developers to provide support for undo/redo in applications such as text editors. |
| javax.transaction | Contains three exceptions thrown by the ORB machinery during unmarshalling. |
| javax.transaction.xa | Provides the API that defines the contract between the transaction manager and the resource manager, which allows the transaction manager to enlist and delist resource objects (supplied by the resource manager driver) in JTA transactions. |
| javax.xml.bind | Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities. |
| javax.xml.bind.annotation.adapters |
XmlAdapter and its spec-defined
sub-classes to allow arbitrary Java classes to be used with JAXB. |
| javax.xml.crypto | Common classes for XML cryptography. |
| javax.xml.crypto.dsig | Classes for generating and validating XML digital signatures. |
| javax.xml.datatype | XML/Java Type Mappings. |
| javax.xml.parsers | Provides classes allowing the processing of XML documents. |
| javax.xml.soap | Provides the API for creating and building SOAP messages. |
| javax.xml.stream | |
| javax.xml.transform | This package defines the generic APIs for processing transformation instructions, and performing a transformation from source to result. |
| javax.xml.ws | This package contains the core JAX-WS APIs. |
| javax.xml.ws.http | This package defines APIs specific to the HTTP binding. |
| javax.xml.ws.soap | This package defines APIs specific to the SOAP binding. |
| javax.xml.xpath | This package provides an object-model neutral API for the evaluation of XPath expressions and access to the evaluation environment. |
| org.ietf.jgss | This package presents a framework that allows application developers to make use of security services like authentication, data integrity and data confidentiality from a variety of underlying security mechanisms like Kerberos, using a unified API. |
| org.omg.CORBA | Provides the mapping of the OMG CORBA APIs to the JavaTM programming language, including the class ORB, which is implemented so that a programmer can use it as a fully-functional Object Request Broker (ORB). |
| org.omg.CORBA.DynAnyPackage | Provides the exceptions used with the DynAny interface
(InvalidValue,
Invalid, InvalidSeq, and
TypeMismatch). |
| org.omg.CORBA.ORBPackage | Provides the exception InvalidName, which is thrown
by the method ORB.resolve_initial_references
and the exception InconsistentTypeCode, which is thrown
by the Dynamic Any creation methods in the ORB class. |
| org.omg.CORBA.portable | Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor's ORB. |
| org.omg.CORBA.TypeCodePackage | Provides the user-defined exceptions BadKind
and Bounds, which are thrown by methods in
in the class TypeCode. |
| org.omg.CosNaming.NamingContextExtPackage | This package contains the following classes, which are used in org.omg.CosNaming.NamingContextExt: |
| org.omg.CosNaming.NamingContextPackage | This package contains Exception classes for the org.omg.CosNaming package. |
| org.omg.IOP.CodecFactoryPackage | This package contains the exceptions specified in the IOP::CodeFactory interface (as part of the Portable Interceptors spec). |
| org.omg.IOP.CodecPackage | This package is generated from the IOP::Codec IDL interface definition. |
| org.omg.PortableInterceptor | Provides a mechanism to register ORB hooks through which ORB services can intercept the normal flow of execution of the ORB. |
| org.omg.PortableInterceptor.ORBInitInfoPackage | This package contains the exceptions and typedefs from the ORBInitInfo local interface of the PortableInterceptor module specified in the OMG Portable Interceptor specification, http://cgi.omg.org/cgi-bin/doc?ptc/2000-08-06, section 21.7.2. |
| org.omg.PortableServer | Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs. |
| org.omg.PortableServer.CurrentPackage | Provides method implementations with access to the identity of the object on which the method was invoked. |
| org.omg.PortableServer.POAManagerPackage | Encapsulates the processing state of the POAs it is associated with. |
| org.omg.PortableServer.POAPackage | Allows programmers to construct object implementations that are portable between different ORB products. |
| org.w3c.dom | Provides the interfaces for the Document Object Model (DOM) which is a component API of the Java API for XML Processing. |
| org.w3c.dom.events | |
| org.w3c.dom.ls | |
| org.xml.sax | This package provides the core SAX APIs. |
| Uses of Exception in java.awt |
|---|
| Subclasses of Exception in java.awt | |
|---|---|
class |
AWTException
Signals that an Absract Window Toolkit exception has occurred. |
class |
FontFormatException
Thrown by method createFont in the Font class to indicate
that the specified font is bad. |
class |
HeadlessException
Thrown when code that is dependent on a keyboard, display, or mouse is called in an environment that does not support a keyboard, display, or mouse. |
class |
IllegalComponentStateException
Signals that an AWT component is not in an appropriate state for the requested operation. |
| Uses of Exception in java.awt.color |
|---|
| Subclasses of Exception in java.awt.color | |
|---|---|
class |
CMMException
This exception is thrown if the native CMM returns an error. |
class |
ProfileDataException
This exception is thrown when an error occurs in accessing or processing an ICC_Profile object. |
| Uses of Exception in java.awt.datatransfer |
|---|
| Subclasses of Exception in java.awt.datatransfer | |
|---|---|
class |
MimeTypeParseException
A class to encapsulate MimeType parsing related exceptions |
class |
UnsupportedFlavorException
Signals that the requested data is not supported in this flavor. |
| Uses of Exception in java.awt.dnd |
|---|
| Subclasses of Exception in java.awt.dnd | |
|---|---|
class |
InvalidDnDOperationException
This exception is thrown by various methods in the java.awt.dnd package. |
| Uses of Exception in java.awt.event |
|---|
| Methods in java.awt.event that return Exception | |
|---|---|
Exception |
InvocationEvent.getException()
Returns any Exception caught while executing the Runnable's run()
method. |
| Uses of Exception in java.awt.geom |
|---|
| Subclasses of Exception in java.awt.geom | |
|---|---|
class |
IllegalPathStateException
The IllegalPathStateException represents an
exception that is thrown if an operation is performed on a path
that is in an illegal state with respect to the particular
operation being performed, such as appending a path segment
to a GeneralPath without an initial moveto. |
class |
NoninvertibleTransformException
The NoninvertibleTransformException class represents
an exception that is thrown if an operation is performed requiring
the inverse of an AffineTransform object but the
AffineTransform is in a non-invertible state. |
| Uses of Exception in java.awt.im.spi |
|---|
| Methods in java.awt.im.spi that throw Exception | |
|---|---|
InputMethod |
InputMethodDescriptor.createInputMethod()
Creates a new instance of the corresponding input method. |
| Uses of Exception in java.awt.image |
|---|
| Subclasses of Exception in java.awt.image | |
|---|---|
class |
ImagingOpException
The ImagingOpException is thrown if one of the
BufferedImageOp or RasterOp filter methods cannot
process the image. |
class |
RasterFormatException
The RasterFormatException is thrown if there is
invalid layout information in the Raster. |
| Uses of Exception in java.awt.print |
|---|
| Subclasses of Exception in java.awt.print | |
|---|---|
class |
PrinterAbortException
The PrinterAbortException class is a subclass of
PrinterException and is used to indicate that a user
or application has terminated the print job while it was in
the process of printing. |
class |
PrinterException
The PrinterException class and its subclasses are used
to indicate that an exceptional condition has occurred in the print
system. |
class |
PrinterIOException
The PrinterIOException class is a subclass of
PrinterException and is used to indicate that an IO error
of some sort has occurred while printing. |
| Uses of Exception in java.beans |
|---|
| Subclasses of Exception in java.beans | |
|---|---|
class |
IntrospectionException
Thrown when an exception happens during Introspection. |
class |
PropertyVetoException
A PropertyVetoException is thrown when a proposed change to a property represents an unacceptable value. |
| Methods in java.beans with parameters of type Exception | |
|---|---|
void |
ExceptionListener.exceptionThrown(Exception e)
This method is called when a recoverable exception has been caught. |
| Methods in java.beans that throw Exception | |
|---|---|
void |
Statement.execute()
The execute method finds a method whose name is the same as the methodName property, and invokes the method on the target. |
Object |
Expression.getValue()
If the value property of this instance is not already set, this method dynamically finds the method with the specified methodName on this target with these arguments and calls it. |
| Uses of Exception in java.io |
|---|
| Subclasses of Exception in java.io | |
|---|---|
class |
CharConversionException
Base class for character conversion exceptions. |
class |
EOFException
Signals that an end of file or end of stream has been reached unexpectedly during input. |
class |
FileNotFoundException
Signals that an attempt to open the file denoted by a specified pathname has failed. |
class |
InterruptedIOException
Signals that an I/O operation has been interrupted. |
class |
InvalidClassException
Thrown when the Serialization runtime detects one of the following problems with a Class. |
class |
InvalidObjectException
Indicates that one or more deserialized objects failed validation tests. |
class |
IOException
Signals that an I/O exception of some sort has occurred. |
class |
NotActiveException
Thrown when serialization or deserialization is not active. |
class |
NotSerializableException
Thrown when an instance is required to have a Serializable interface. |
class |
ObjectStreamException
Superclass of all exceptions specific to Object Stream classes. |
class |
OptionalDataException
Exception indicating the failure of an object read operation due to unread primitive data, or the end of data belonging to a serialized object in the stream. |
class |
StreamCorruptedException
Thrown when control information that was read from an object stream violates internal consistency checks. |
class |
SyncFailedException
Signals that a sync operation has failed. |
class |
UnsupportedEncodingException
The Character Encoding is not supported. |
class |
UTFDataFormatException
Signals that a malformed string in modified UTF-8 format has been read in a data input stream or by any class that implements the data input interface. |
class |
WriteAbortedException
Signals that one of the ObjectStreamExceptions was thrown during a write operation. |
| Fields in java.io declared as Exception | |
|---|---|
Exception |
WriteAbortedException.detail
Exception that was caught while writing the ObjectStream. |
| Constructors in java.io with parameters of type Exception | |
|---|---|
WriteAbortedException(String s,
Exception ex)
Constructs a WriteAbortedException with a string describing the exception and the exception causing the abort. |
|
| Uses of Exception in java.lang |
|---|
| Subclasses of Exception in java.lang | |
|---|---|
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 |
ClassNotFoundException
Thrown when an application tries to load in a class through its string name using: The forName method in class Class. |
class |
CloneNotSupportedException
Thrown to indicate that the clone method in class
Object has been called to clone an object, but that
the object's class does not implement the Cloneable
interface. |
class |
EnumConstantNotPresentException
Thrown when an application tries to access an enum constant by name and the enum type contains no constant with the specified name. |
class |
IllegalAccessException
An IllegalAccessException is thrown when an application tries to reflectively create an instance (other than an array), set or get a field, or invoke a method, but the currently executing method does not have access to the definition of the specified class, field, method or constructor. |
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 |
InstantiationException
Thrown when an application tries to create an instance of a class using the newInstance method in class
Class, but the specified class object cannot be
instantiated. |
class |
InterruptedException
Thrown when a thread is waiting, sleeping, or otherwise occupied, and the thread is interrupted, either before or during the activity. |
class |
NegativeArraySizeException
Thrown if an application tries to create an array with negative size. |
class |
NoSuchFieldException
Signals that the class doesn't have a field of a specified name. |
class |
NoSuchMethodException
Thrown when a particular method cannot be found. |
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 |
RuntimeException
RuntimeException is the superclass of those
exceptions that can be thrown during the normal operation of the
Java Virtual Machine. |
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 |
TypeNotPresentException
Thrown when an application tries to access a type using a string representing the type's name, but no definition for the type with the specified name can be found. |
class |
UnsupportedOperationException
Thrown to indicate that the requested operation is not supported. |
| Uses of Exception in java.lang.annotation |
|---|
| Subclasses of Exception in java.lang.annotation | |
|---|---|
class |
AnnotationTypeMismatchException
Thrown to indicate that a program has attempted to access an element of an annotation whose type has changed after the annotation was compiled (or serialized). |
class |
IncompleteAnnotationException
Thrown to indicate that a program has attempted to access an element of an annotation type that was added to the annotation type definition after the annotation was compiled (or serialized). |
| Uses of Exception in java.lang.instrument |
|---|
| Subclasses of Exception in java.lang.instrument | |
|---|---|
class |
IllegalClassFormatException
Thrown by an implementation of ClassFileTransformer.transform
when its input parameters are invalid. |
class |
UnmodifiableClassException
Thrown by an implementation of Instrumentation.redefineClasses
when one of the specified classes cannot be modified. |
| Uses of Exception in java.lang.reflect |
|---|
| Subclasses of Exception in java.lang.reflect | |
|---|---|
class |
InvocationTargetException
InvocationTargetException is a checked exception that wraps an exception thrown by an invoked method or constructor. |
class |
MalformedParameterizedTypeException
Thrown when a semantically malformed parameterized type is encountered by a reflective method that needs to instantiate it. |
class |
UndeclaredThrowableException
Thrown by a method invocation on a proxy instance if its invocation handler's invoke method throws a
checked exception (a Throwable that is not assignable
to RuntimeException or Error) that
is not assignable to any of the exception types declared in the
throws clause of the method that was invoked on the
proxy instance and dispatched to the invocation handler. |
| Uses of Exception in java.net |
|---|
| Subclasses of Exception in java.net | |
|---|---|
class |
BindException
Signals that an error occurred while attempting to bind a socket to a local address and port. |
class |
HttpRetryException
Thrown to indicate that a HTTP request needs to be retried but cannot be retried automatically, due to streaming mode being enabled. |
class |
MalformedURLException
Thrown to indicate that a malformed URL has occurred. |
class |
NoRouteToHostException
Signals that an error occurred while attempting to connect a socket to a remote address and port. |
class |
PortUnreachableException
Signals that an ICMP Port Unreachable message has been received on a connected datagram. |
class |
ProtocolException
Thrown to indicate that there is an error in the underlying protocol, such as a TCP error. |
class |
SocketException
Thrown to indicate that there is an error in the underlying protocol, such as a TCP error. |
class |
SocketTimeoutException
Signals that a timeout has occurred on a socket read or accept. |
class |
UnknownHostException
Thrown to indicate that the IP address of a host could not be determined. |
class |
UnknownServiceException
Thrown to indicate that an unknown service exception has occurred. |
class |
URISyntaxException
Checked exception thrown to indicate that a string could not be parsed as a URI reference. |
| Uses of Exception in java.nio |
|---|
| Subclasses of Exception in java.nio | |
|---|---|
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. |
class |
InvalidMarkException
Unchecked exception thrown when an attempt is made to reset a buffer when its mark is not defined. |
class |
ReadOnlyBufferException
Unchecked exception thrown when a content-mutation method such as put or compact is invoked upon a read-only buffer. |
| Uses of Exception in java.nio.channels |
|---|
| Subclasses of Exception in java.nio.channels | |
|---|---|
class |
AlreadyConnectedException
Unchecked exception thrown when an attempt is made to connect a SocketChannel that is already connected. |
class |
AsynchronousCloseException
Checked exception received by a thread when another thread closes the channel or the part of the channel upon which it is blocked in an I/O operation. |
class |
CancelledKeyException
Unchecked exception thrown when an attempt is made to use a selection key that is no longer valid. |
class |
ClosedByInterruptException
Checked exception received by a thread when another thread interrupts it while it is blocked in an I/O operation upon a channel. |
class |
ClosedChannelException
Checked exception thrown when an attempt is made to invoke or complete an I/O operation upon channel that is closed, or at least closed to that operation. |
class |
ClosedSelectorException
Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a closed selector. |
class |
ConnectionPendingException
Unchecked exception thrown when an attempt is made to connect a SocketChannel for which a non-blocking connection operation is already in
progress. |
class |
FileLockInterruptionException
Checked exception received by a thread when another thread interrupts it while it is waiting to acquire a file lock. |
class |
IllegalBlockingModeException
Unchecked exception thrown when a blocking-mode-specific operation is invoked upon a channel in the incorrect blocking mode. |
class |
IllegalSelectorException
Unchecked exception thrown when an attempt is made to register a channel with a selector that was not created by the provider that created the channel. |
class |
NoConnectionPendingException
Unchecked exception thrown when the finishConnect method of a SocketChannel is invoked without first
successfully invoking its connect method. |
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. |
class |
NotYetBoundException
Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a server socket channel that is not yet bound. |
class |
NotYetConnectedException
Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a socket channel that is not yet connected. |
class |
OverlappingFileLockException
Unchecked exception thrown when an attempt is made to acquire a lock on a region of a file that overlaps a region already locked by the same Java virtual machine, or when another thread is already waiting to lock an overlapping region of the same file. |
class |
UnresolvedAddressException
Unchecked exception thrown when an attempt is made to invoke a network operation upon an unresolved socket address. |
class |
UnsupportedAddressTypeException
Unchecked exception thrown when an attempt is made to bind or connect to a socket address of a type that is not supported. |
| Uses of Exception in java.nio.charset |
|---|
| Subclasses of Exception in java.nio.charset | |
|---|---|
class |
CharacterCodingException
Checked exception thrown when a character encoding or decoding error occurs. |
class |
IllegalCharsetNameException
Unchecked exception thrown when a string that is not a legal charset name is used as such. |
class |
MalformedInputException
Checked exception thrown when an input byte sequence is not legal for given charset, or an input character sequence is not a legal sixteen-bit Unicode sequence. |
class |
UnmappableCharacterException
Checked exception thrown when an input character (or byte) sequence is valid but cannot be mapped to an output byte (or character) sequence. |
class |
UnsupportedCharsetException
Unchecked exception thrown when no support is available for a requested charset. |
| Constructors in java.nio.charset with parameters of type Exception | |
|---|---|
CoderMalfunctionError(Exception cause)
Initializes an instance of this class. |
|
| Uses of Exception in java.rmi |
|---|
| Subclasses of Exception in java.rmi | |
|---|---|
class |
AccessException
An AccessException is thrown by certain methods of the
java.rmi.Naming class (specifically bind,
rebind, and unbind) and methods of the
java.rmi.activation.ActivationSystem interface to
indicate that the caller does not have permission to perform the action
requested by the method call. |
class |
AlreadyBoundException
An AlreadyBoundException is thrown if an attempt
is made to bind an object in the registry to a name that already
has an associated binding. |
class |
ConnectException
A ConnectException is thrown if a connection is refused
to the remote host for a remote method call. |
class |
ConnectIOException
A ConnectIOException is thrown if an
IOException occurs while making a connection
to the remote host for a remote method call. |
class |
NoSuchObjectException
A NoSuchObjectException is thrown if an attempt is made to
invoke a method on an object that no longer exists in the remote virtual
machine. |
class |
NotBoundException
A NotBoundException is thrown if an attempt
is made to lookup or unbind in the registry a name that has
no associated binding. |
class |
RemoteException
A RemoteException is the common superclass for a number of
communication-related exceptions that may occur during the execution of a
remote method call. |
class |
RMISecurityException
Deprecated. Use SecurityException instead.
Application code should never directly reference this class, and
RMISecurityManager no longer throws this subclass of
java.lang.SecurityException. |
class |
ServerError
A ServerError is thrown as a result of a remote method
invocation when an Error is thrown while processing
the invocation on the server, either while unmarshalling the arguments,
executing the remote method itself, or marshalling the return value. |
class |
ServerException
A ServerException is thrown as a result of a remote method
invocation when a RemoteException is thrown while processing
the invocation on the server, either while unmarshalling the arguments or
executing the remote method itself. |
class |
ServerRuntimeException
Deprecated. no replacement |
class |
StubNotFoundException
A StubNotFoundException is thrown if a valid stub class
could not be found for a remote object when it is exported. |
class |
UnexpectedException
An UnexpectedException is thrown if the client of a
remote method call receives, as a result of the call, a checked
exception that is not among the checked exception types declared in the
throws clause of the method in the remote interface. |
class |
UnmarshalException
An UnmarshalException can be thrown while unmarshalling the
parameters or results of a remote method call if any of the following
conditions occur:
if an exception occurs while unmarshalling the call header
if the protocol for the return value is invalid
if a java.io.IOException occurs unmarshalling
parameters (on the server side) or the return value (on the client side). |
| Constructors in java.rmi with parameters of type Exception | |
|---|---|
AccessException(String s,
Exception ex)
Constructs an AccessException with the specified
detail message and nested exception. |
|
ConnectException(String s,
Exception ex)
Constructs a ConnectException with the specified
detail message and nested exception. |
|
ConnectIOException(String s,
Exception ex)
Constructs a ConnectIOException with the specified
detail message and nested exception. |
|
MarshalException(String s,
Exception ex)
Constructs a MarshalException with the specified
detail message and nested exception. |
|
ServerException(String s,
Exception ex)
Constructs a ServerException with the specified
detail message and nested exception. |
|
ServerRuntimeException(String s,
Exception ex)
Deprecated. no replacement |
|
StubNotFoundException(String s,
Exception ex)
Constructs a StubNotFoundException with the specified
detail message and nested exception. |
|
UnexpectedException(String s,
Exception ex)
Constructs a UnexpectedException with the specified
detail message and nested exception. |
|
UnknownHostException(String s,
Exception ex)
Constructs an UnknownHostException with the specified
detail message and nested exception. |
|
UnmarshalException(String s,
Exception ex)
Constructs an UnmarshalException with the specified
detail message and nested exception. |
|
| Uses of Exception in java.rmi.activation |
|---|
| Subclasses of Exception in java.rmi.activation | |
|---|---|
class |
ActivateFailedException
This exception is thrown by the RMI runtime when activation fails during a remote call to an activatable object. |
class |
ActivationException
General exception used by the activation interfaces. |
class |
UnknownGroupException
An UnknownGroupException is thrown by methods of classes and
interfaces in the java.rmi.activation package when the
ActivationGroupID parameter to the method is determined to be
invalid, i.e., not known by the ActivationSystem. |
class |
UnknownObjectException
An UnknownObjectException is thrown by methods of classes and
interfaces in the java.rmi.activation package when the
ActivationID parameter to the method is determined to be
invalid. |
| Constructors in java.rmi.activation with parameters of type Exception | |
|---|---|
ActivateFailedException(String s,
Exception ex)
Constructs an ActivateFailedException with the specified
detail message and nested exception. |
|
| Uses of Exception in java.rmi.server |
|---|
| Subclasses of Exception in java.rmi.server | |
|---|---|
class |
ExportException
An ExportException is a RemoteException
thrown if an attempt to export a remote object fails. |
class |
ServerCloneException
A ServerCloneException is thrown if a remote exception occurs
during the cloning of a UnicastRemoteObject. |
class |
ServerNotActiveException
An ServerNotActiveException is an Exception
thrown during a call to RemoteServer.getClientHost if
the getClientHost method is called outside of servicing a remote
method call. |
class |
SkeletonMismatchException
Deprecated. no replacement. Skeletons are no longer required for remote method calls in the Java 2 platform v1.2 and greater. |
class |
SkeletonNotFoundException
Deprecated. no replacement. Skeletons are no longer required for remote method calls in the Java 2 platform v1.2 and greater. |
class |
SocketSecurityException
An obsolete subclass of ExportException. |
| Fields in java.rmi.server declared as Exception | |
|---|---|
Exception |
ServerCloneException.detail
The cause of the exception. |
| Methods in java.rmi.server with parameters of type Exception | |
|---|---|
boolean |
RMIFailureHandler.failure(Exception ex)
The failure callback is invoked when the RMI
runtime is unable to create a ServerSocket via the
RMISocketFactory. |
| Methods in java.rmi.server that throw Exception | |
|---|---|
void |
Skeleton.dispatch(Remote obj,
RemoteCall theCall,
int opnum,
long hash)
Deprecated. no replacement |
void |
RemoteCall.executeCall()
Deprecated. no replacement |
void |
RemoteRef.invoke(RemoteCall call)
Deprecated. 1.2 style stubs no longer use this method. Instead of using a sequence of method calls to the remote reference ( newCall, invoke, and done), a
stub uses a single method, invoke(Remote, Method, Object[],
int), on the remote reference to carry out parameter
marshalling, remote method executing and unmarshalling of the return
value. |
Object |
RemoteRef.invoke(Remote obj,
Method method,
Object[] params,
long opnum)
Invoke a method. |
| Constructors in java.rmi.server with parameters of type Exception | |
|---|---|
ExportException(String s,
Exception ex)
Constructs an ExportException with the specified
detail message and nested exception. |
|
ServerCloneException(String s,
Exception cause)
Constructs a ServerCloneException with the specified
detail message and cause. |
|
SkeletonNotFoundException(String s,
Exception ex)
  | |