java非运行时异常有哪些
2017-11-17 · 知道合伙人软件行家
java非运行时异常 即 Exception下 除了RuntimeException其它都是非运行时异常
RuntimeException 也是Exception的子类
Exception 直接已知子类:
AclNotFoundException,
ActivationException,
AlreadyBoundException, ApplicationException,
AWTException, BackingStoreException,
BadAttributeValueExpException,
BadBinaryOpValueExpException,
BadLocationException,
BadStringOperationException,
BrokenBarrierException,
CertificateException,
ClassNotFoundException,
CloneNotSupportedException,
DataFormatException, DatatypeConfigurationException,
DestroyFailedException,
ExecutionException,
ExpandVetoException,
FontFormatException, GeneralSecurityException,
GSSException, IllegalAccessException,
IllegalClassFormatException,
InstantiationException,
InterruptedException, IntrospectionException,
InvalidApplicationException,
InvalidMidiDataException,
InvalidPreferencesFormatException,
InvalidTargetObjectTypeException,
InvocationTargetException,
IOException, JAXBException, JMException, KeySelectorException,
LastOwnerException,
LineUnavailableException,
MarshalException, MidiUnavailableException,
MimeTypeParseException,
MimeTypeParseException,
NamingException, NoninvertibleTransformException,
NoSuchFieldException, NoSuchMethodException, NotBoundException, NotOwnerException, ParseException, ParserConfigurationException,
PrinterException, PrintException, PrivilegedActionException,
PropertyVetoException, RefreshFailedException,
RemarshalException, SAXException, ScriptException, ServerNotActiveException,
SOAPException, SQLException,
TimeoutException, TooManyListenersException,
TransformerException,
TransformException,
UnmodifiableClassException,
UnsupportedAudioFileException,
UnsupportedCallbackException,
UnsupportedFlavorException,
UnsupportedLookAndFeelException,
URIReferenceException,
URISyntaxException, UserException, XAException, XMLParseException,
XMLSignatureException,
XMLStreamException, XPathException