Uses of Class
java.lang.Exception

Packages that useException
Package
Description
com.sun.jdi
This is the core package of the Java DebugInterface (JDI), it defines mirrors for values, types, and the targetVirtualMachine itself - as well bootstrapping facilities.
com.sun.jdi.connect
This package defines connections between the virtual machineusing the JDI and the target virtual machine.
com.sun.jdi.connect.spi
This package comprises the interfaces and classes used todevelop newTransportServiceimplementations.
com.sun.jdi.request
This package is used to request that a JDIevent be sent under specified conditions.
com.sun.nio.sctp
A Java API for Stream Control Transport Protocol.
com.sun.tools.attach
Provides the API to attach to a Java virtual machine.
com.sun.tools.javac
This package provides a legacy entry point for thejavac tool.
java.awt
Contains all of the classes for creating user interfaces and for paintinggraphics and images.
java.awt.color
Provides classes for color spaces.
java.awt.datatransfer
Provides interfaces and classes for transferring data between and withinapplications.
java.awt.dnd
Drag and Drop is a direct manipulation gesture found in many Graphical UserInterface systems that provides a mechanism to transfer information betweentwo entities logically associated with presentation elements in the GUI.
java.awt.event
Provides interfaces and classes for dealing with different types of eventsfired by AWT components.
java.awt.geom
Provides the Java 2D classes for defining and performing operations onobjects related to two-dimensional geometry.
java.awt.im.spi
Provides interfaces that enable the development of input methods that can beused 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 developingbeans -- components based onthe JavaBeans 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 Javaprogramming language.
java.lang.annotation
Provides library support for the Java programming languageannotation facility.
java.lang.classfile.constantpool
Provides interfaces describing constant pool entries for thejava.lang.classfile library.
java.lang.instrument
Provides services that allow Java programming language agents to instrumentprograms running on the Java Virtual Machine (JVM).
java.lang.invoke
Thejava.lang.invoke package provides low-level primitives for interactingwith the Java Virtual Machine.
java.lang.module
Classes to support module descriptors and creating configurations of modulesby means of resolution and service binding.
java.lang.reflect
Provides classes and interfaces for obtaining reflective information aboutclasses and objects.
java.net
Provides the classes for implementing networking applications.
java.net.http
HTTP Client and WebSocket APIs
java.nio
Defines buffers, which are containers for data, and provides anoverview of the other NIO packages.
java.nio.channels
Defines channels, which represent connections to entities that are capable ofperforming I/O operations, such as files and sockets; defines selectors, formultiplexed, non-blocking I/O operations.
java.nio.charset
Defines charsets, decoders, and encoders, for translating betweenbytes and Unicode characters.
java.nio.file
Defines interfaces and classes for the Java virtual machine to access files,file attributes, and file systems.
java.nio.file.attribute
Interfaces and classes providing access to file and file system attributes.
java.rmi
Provides the RMI package.
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.cert
Provides classes and interfaces for parsing and managingcertificates, certificate revocation lists (CRLs), andcertification paths.
java.security.spec
Provides classes and interfaces for key specifications and algorithmparameter specifications.
java.sql
Provides the API for accessing and processing data stored in adata source (usually a relational database) using theJava programming language.
java.text
Provides classes and interfaces for handling text, dates, numbers,and messages in a manner independent of natural languages.
java.time
The main API for dates, times, instants, and durations.
java.time.format
Provides classes to print and parse dates and times.
java.time.temporal
Access to date and time using fields and units, and date time adjusters.
java.time.zone
Support for time-zones and their rules.
java.util
Contains the collections framework, some internationalization support classes,a service loader, properties, random number generation, string parsingand scanning classes, base64 encoding and decoding, a bit array, andseveral miscellaneous utility classes.
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 anoptional manifest file.
java.util.logging
Provides the classes and interfaces ofthe Java 2 platform's core logging facilities.
java.util.prefs
This package allows applications to store and retrieve user and systempreference and configuration data.
java.util.regex
Classes for matching character sequences against patterns specifiedby regular expressions.
java.util.zip
Provides classes for reading and writing the standard ZIP and GZIP fileformats.
javax.annotation.processing
Facilities for declaring annotation processors and forallowing annotation processors to communicate with an annotation processingtool environment.
javax.crypto
Provides the classes and interfaces for cryptographicoperations.
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 writingmetadata.
javax.lang.model
Types and hierarchies of packages comprising a Java language model, a reflective API that models the declarations and types of the Javaprogramming language.
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.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 toJMX 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 thejavax.naming package to provide functionalityfor 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 accessingnaming and directory services through thejavax.namingand related packages.
javax.net.ssl
Provides classes for the secure socket package.
javax.print
Provides the principal classes and interfaces for the Java PrintService API.
javax.print.attribute
Provides classes and interfaces that describe the types of Java PrintService attributes and how they can be collected into attribute sets.
javax.script
The scripting API consists of interfaces and classes that defineJava Scripting Engines and providesa framework for their use in Java applications.
javax.security.auth
This package provides a framework for authentication andauthorization.
javax.security.auth.callback
This package provides the classes necessary for servicesto interact with applications in order to retrieveinformation (authentication data including usernamesor 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.smartcardio
Java™ Smart Card I/O API.
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 ofsampled audio data.
javax.sql.rowset
Standard interfaces and base classes for JDBCRowSet implementations.
javax.sql.rowset.serial
Provides utility classes to allow serializable mappings between SQL typesand 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) componentsthat, to the maximum degree possible, work the same on all platforms.
javax.swing.text
Provides classes and interfaces that deal with editable and noneditable textcomponents.
javax.swing.tree
Provides classes and interfaces for dealing withjavax.swing.JTree.
javax.swing.undo
Allows developers to provide support for undo/redo in applications such astext editors.
javax.transaction.xa
Provides the API that defines the contract between the transaction managerand the resource manager, which allows the transaction manager to enlistand delist resource objects (supplied by the resource manager driver) inJTA transactions.
javax.xml.catalog
Provides the classes for implementingXML Catalogs OASIS Standard V1.1, 7 October 2005.
javax.xml.crypto
Common classes for XML cryptography.
javax.xml.crypto.dsig
Classes for generating and validating XML digitalsignatures.
javax.xml.datatype
Defines XML/Java Type Mappings.
javax.xml.parsers
Provides the classes for processing XML documents with a SAX (Simple API for XML)parser or a DOM (Document Object Model) Document builder.
javax.xml.stream
Defines interfaces and classes for the Streaming API for XML (StAX).
javax.xml.transform
Defines the generic APIs for processing transformation instructions,and performing a transformation from source to result.
javax.xml.xpath
Provides anobject-model neutral API for theevaluation of XPath expressions and access to the evaluationenvironment.
jdk.dynalink
Contains interfaces and classes that are used to link aninvokedynamic call site.
jdk.dynalink.beans
Contains the linker for ordinary Java objects.
jdk.dynalink.linker
Contains interfaces and classes needed by language runtimes to implementtheir own language-specific object models and type conversions.
jdk.dynalink.linker.support
Contains classes that make it more convenient for language runtimes toimplement their own language-specific object models and type conversionsby providing basic implementations of some classes as well as variousutilities.
jdk.jshell
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL),which interactively evaluate "snippets" of Java programming language code.
jdk.jshell.execution
Provides implementation support for building JShell execution engines.
jdk.jshell.spi
Defines the Service Provider Interface for pluggable JShell execution engines.
jdk.jshell.tool
Provides a mechanism to launch an instance of a Java shell tool.
jdk.security.jarsigner
This package defines APIs for signing jar files.
netscape.javascript
Deprecated, for removal: This API element is subject to removalin a future version.
The jdk.jsobject module will be delivered with JavaFX.
org.ietf.jgss
This package presents a framework that allows application developers tomake use of security services like authentication, data integrity anddata confidentiality from a variety of underlying security mechanismslike Kerberos, using a unified API.
org.w3c.dom
Provides the interfaces for the Document Object Model (DOM).
org.w3c.dom.events
Provides interfaces for DOM Level 2 Events.
org.w3c.dom.ls
Provides interfaces for DOM Level 3 Load and Save.
org.w3c.dom.ranges
Provides interfaces for DOM Level 2 Range.
org.w3c.dom.xpath
Provides interfaces for DOM Level 3 XPath Specification.
org.xml.sax
Provides the interfaces for the Simple API for XML (SAX).