| Comment | Returned-by | Constructor-argument | Method-argument | Field-type | Type-bound | Thrown-by | Links |
The class Exception and its subclasses are a form of
Throwable that indicates conditions that a reasonable
application might want to catch.
The class Exception and any subclasses that are not also
subclasses of RuntimeException are checked
exceptions. Checked exceptions need to be declared in a
method or constructor's throws clause if they can be thrown
by the execution of the method or constructor and propagate outside
the method or constructor boundary.
extends
java.lang.Error
@jls 11.2 Compile-Time Checking of Exceptions
java.awt.event. InvocationEvent .getException ()java.security. PrivilegedActionException .getException ()javax.management. MBeanException .getTargetException ()javax.management. ReflectionException .getTargetException ()javax.xml.parsers. FactoryConfigurationError .getException ()javax.xml.stream. FactoryConfigurationError .getException ()javax.xml.transform. TransformerFactoryConfigurationError .getException ()javax.xml.ws. FaultAction .className ()org.xml.sax. SAXException .getException ()java.io. WriteAbortedException ()java.nio.charset. CoderMalfunctionError ()java.rmi. AccessException ()java.rmi. ConnectException ()java.rmi. ConnectIOException ()java.rmi. MarshalException ()java.rmi. ServerException ()java.rmi. StubNotFoundException ()java.rmi. UnexpectedException ()java.rmi. UnknownHostException ()java.rmi. UnmarshalException ()java.rmi.activation. ActivateFailedException ()java.rmi.server. ExportException ()java.rmi.server. ServerCloneException ()java.security. PrivilegedActionException ()javax.management. MBeanException () * 2javax.management. MBeanRegistrationException () * 2javax.management. ReflectionException () * 2javax.management.modelmbean. InvalidTargetObjectTypeException ()javax.management.modelmbean. XMLParseException ()javax.print. PrintException () * 2javax.script. ScriptException ()javax.xml.parsers. FactoryConfigurationError () * 2javax.xml.stream. FactoryConfigurationError () * 3javax.xml.transform. TransformerFactoryConfigurationError () * 2org.xml.sax. SAXException () * 2org.xml.sax. SAXParseException () * 2java.rmi.server. SkeletonNotFoundException ()java.rmi.server. SocketSecurityException ()java.rmi. ServerRuntimeException ()java.beans. ExceptionListener .exceptionThrown ()java.rmi.server. RMIFailureHandler .failure ()java.util.logging. ErrorManager .error ()java.util.logging. Handler .reportError ()java.lang. AutoCloseable java.util.concurrent. Callable javax.naming.spi. DirObjectFactory javax.naming.spi. DirectoryManager java.beans. Expression * 2java.awt.im.spi. InputMethodDescriptor javax.management.remote. JMXConnectorServer javax.management. MBeanRegistration * 2javax.management.loading. MLet * 3javax.management.monitor. Monitor * 2javax.naming.spi. NamingManager javax.naming.spi. ObjectFactory java.security. PrivilegedExceptionAction javax.management.relation. RelationService * 2javax.management.relation. RelationSupport * 2java.rmi.server. RemoteRef * 2javax.management.modelmbean. RequiredModelMBean * 2javax.management. StandardMBean * 2java.beans. Statement javax.swing. SwingWorker javax.management.timer. Timer * 2javax.xml.bind.annotation.adapters. XmlAdapter * 2java.rmi.server. RemoteCall java.rmi.server. Skeleton