以下是java中的哪些异常?
BufferUnderflowException:
CannotRedoException:
CannotUndoException:
ClassCastException:
CMMException:
ConcurrentModificationException:
DOMException:
EmptyStackException:
IllegalArgumentException:
IllegalMonitorStateException:
IllegalPathStateException:
IllegalStateException:
ImagingOpException:
IndexOutOfBoundsException:
MissingResourceException:
NegativeArraySizeException:
NoSuchElementException:
NullPointerException:空指针异常
ProfileDataException:
ProviderException:
RasterFormatException:
SecurityException:
SystemException:
UndeclaredThrowableException:
UnmodifiableSetException:
UnsupportedOperationException:
[解决办法]
请参照 JAVA-API 一一查询
[解决办法]
自己去查吧,下个JDK手册一个个的去看吧。
[解决办法]
BufferUnderflowException:缓冲溢出
DOMException: DOM异常
EmptyStackException: 空栈异常
IllegalArgumentException: 非法参数异常
IllegalPathStateException: 非法路径声明
IllegalStateException: 非法声明
IndexOutOfBoundsException: 下标越界
MissingResourceException: 资源丢失
NegativeArraySizeException: 数组大小为负
NoSuchElementException: 无法获得元素
SystemException: 系统异常
UndeclaredThrowableException: 未定义抛出声明
[解决办法]
LZ答对有奖吗?
[解决办法]
这么多异常,建议还是去看API吧
[解决办法]
[解决办法]
[解决办法]
这没有意义的
当你发生某个异常了,你再来看这个异常就好了
这样记是毫无意义的
[解决办法]
[解决办法]
看ExceptionAPI的子类,自己查。。。