err和exception
A、定义:软件再运行中遇到一些异常问题。比如;打开文件格式不对,内存不够,空指针,数组越界。
B、分类:检查性异常,运行时异常,错误。
C、异常体系
Throwable Error VirtualMachineError StockOverFlowError
OutOfMemoryError
AWTError
Exception IOException EOFExceptionFileNotFoundExceptionRunTimeException ArrithmeticExceptionMissingResourceExceptionClassNotFoundExceptionNullPointExceptionIllegalArgumentExceptionArrayIndexOutOfBoundExceptionUnkownTypeException
ERR通常是灾难性的错误,最好不要出现