JAVA中常见的几种RuntimeException
1个回答
展开全部
常见的:
ArrayIndexOutOfBoundsException,
StringIndexOutOfBoundsException,
ClassCastException,
NullPointerException,UnknownTypeException,IllegalArgumentException,IllegalStateException,
IndexOutOfBoundsException,NoSuchElementException,UnknownException
AnnotationTypeMismatchException,
ArithmeticException, ArrayStoreException, BufferOverflowException,
BufferUnderflowException,
CannotRedoException,
CannotUndoException,
ClassCastException, CMMException, ConcurrentModificationException,
DOMException, EmptyStackException, EnumConstantNotPresentException,
EventException, IllegalArgumentException,
IllegalMonitorStateException,
IllegalPathStateException,
IllegalStateException, ImagingOpException, IncompleteAnnotationException,
IndexOutOfBoundsException,
JMRuntimeException, LSException, MalformedParameterizedTypeException,
MirroredTypeException,
MirroredTypesException,
MissingResourceException,
NegativeArraySizeException,
NoSuchElementException,
NoSuchMechanismException,
NullPointerException, ProfileDataException,
ProviderException, RasterFormatException,
RejectedExecutionException,
SecurityException, SystemException, TypeConstraintException,
TypeNotPresentException,
UndeclaredThrowableException,
UnknownAnnotationValueException,
UnknownElementException,
UnknownTypeException,
UnmodifiableSetException,
UnsupportedOperationException,
WebServiceException,MonitorSettingException,
RuntimeErrorException,
RuntimeMBeanException,
RuntimeOperationsException,
AlreadyConnectedException,
CancellationException,
CancelledKeyException,
ClosedSelectorException,
ConnectionPendingException,
FormatterClosedException,
IllegalBlockingModeException,
IllegalComponentStateException,
InvalidDnDOperationException,
InvalidMarkException, NoConnectionPendingException,
NonReadableChannelException,
NonWritableChannelException,
NotYetBoundException,
NotYetConnectedException,
OverlappingFileLockException,
IllegalCharsetNameException,
IllegalFormatException,
IllegalSelectorException,
IllegalThreadStateException,
InvalidKeyException,
InvalidOpenTypeException,
InvalidParameterException,
KeyAlreadyExistsException,
NumberFormatException, PatternSyntaxException,
UnresolvedAddressException,
UnsupportedAddressTypeException,
UnsupportedCharsetException, UnknownException
ArrayIndexOutOfBoundsException,
StringIndexOutOfBoundsException,
ClassCastException,
NullPointerException,UnknownTypeException,IllegalArgumentException,IllegalStateException,
IndexOutOfBoundsException,NoSuchElementException,UnknownException
AnnotationTypeMismatchException,
ArithmeticException, ArrayStoreException, BufferOverflowException,
BufferUnderflowException,
CannotRedoException,
CannotUndoException,
ClassCastException, CMMException, ConcurrentModificationException,
DOMException, EmptyStackException, EnumConstantNotPresentException,
EventException, IllegalArgumentException,
IllegalMonitorStateException,
IllegalPathStateException,
IllegalStateException, ImagingOpException, IncompleteAnnotationException,
IndexOutOfBoundsException,
JMRuntimeException, LSException, MalformedParameterizedTypeException,
MirroredTypeException,
MirroredTypesException,
MissingResourceException,
NegativeArraySizeException,
NoSuchElementException,
NoSuchMechanismException,
NullPointerException, ProfileDataException,
ProviderException, RasterFormatException,
RejectedExecutionException,
SecurityException, SystemException, TypeConstraintException,
TypeNotPresentException,
UndeclaredThrowableException,
UnknownAnnotationValueException,
UnknownElementException,
UnknownTypeException,
UnmodifiableSetException,
UnsupportedOperationException,
WebServiceException,MonitorSettingException,
RuntimeErrorException,
RuntimeMBeanException,
RuntimeOperationsException,
AlreadyConnectedException,
CancellationException,
CancelledKeyException,
ClosedSelectorException,
ConnectionPendingException,
FormatterClosedException,
IllegalBlockingModeException,
IllegalComponentStateException,
InvalidDnDOperationException,
InvalidMarkException, NoConnectionPendingException,
NonReadableChannelException,
NonWritableChannelException,
NotYetBoundException,
NotYetConnectedException,
OverlappingFileLockException,
IllegalCharsetNameException,
IllegalFormatException,
IllegalSelectorException,
IllegalThreadStateException,
InvalidKeyException,
InvalidOpenTypeException,
InvalidParameterException,
KeyAlreadyExistsException,
NumberFormatException, PatternSyntaxException,
UnresolvedAddressException,
UnsupportedAddressTypeException,
UnsupportedCharsetException, UnknownException
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询