首页  

Java异常知识点     所属分类 java 浏览量 1107
异常相关的关键词  
try catch finally throw throws

Throwable
  Error
  Exception
    RuntimeException
    

Error  
程序无法处理的系统错误,编译器不做检查,如系统崩溃、虚拟机错误、系统内存不足等

    
checked异常  unchecked异常

运行时异常     不可预知,程序应当自动避免
非运行时异常   可预知的 


常见的异常 UncheckedException ClassCastException ConcurrentModificationException ArithmeticException ArrayIndexOutOfBoundsException NullPointerException IllegalArgumentException IllegalStateException IndexOutOfBoundsException UnsupportedOperationException SecurityException
CheckedException ClassNotFoundException IOException SQLException TimeoutException UnknownHostException FileNotFoundException CloneNotSupportedException FileAlreadyExistsException InterruptedException
Error AssertionError OutOfMemoryError StackOverflowError LinkageError ExceptionInInitializerError UnsatisfiedLinkError 常见异常例子代码 https://gitee.com/dyyx/hellocode/tree/master/src/error
java异常处理12条建议 JVM异常优化Fast Throw 与 OmitStackTraceInFastThrow 参数 NoClassDefFoundError和ClassNotFoundException异常的区别 eclipse异常断点设置 eclipse设置条件断点和异常断点 Timer already cancelled 异常分析 arthas 异常排查技巧

上一篇     下一篇
java中的list

arthas 异常排查技巧

elasticsearch 优化点

mysql explain 简介

mysql中的浮点数

MongoDB面试题