java

JAVA - Exception μ’…λ₯˜

dev_summer 2020. 11. 9. 15:20

 

ClassNotFoundException 클래슀λ₯Ό 찾지 λͺ»ν•¨

CloneNotSupportedException Cloneable μΈν„°νŽ˜μ΄μŠ€ λ―Έκ΅¬ν˜„

IllegalAccessException 클래슀 접근을 λͺ»ν•¨

InstantiationException 좔상 클래슀 λ˜λŠ” μΈν„°νŽ˜μ΄μŠ€λ₯Ό μΈμŠ€ν„΄μŠ€ν™” ν•˜κ³ μž ν• λ•Œ

InterruptedException μ“°λ ˆλ“œκ°€ 쀑단 λ˜μ—ˆμ„λ•Œ

NoSuchFieldException μ§€μ •λœ ν•„λ“œκ°€ μ—†μ„λ•Œ

NoSuchMethodException μ§€μ •λœ λ©”μ†Œλ“œκ°€ μ—†μ„λ•Œ

[IOException] CharConversionException 문자 λ³€ν™˜μ—μ„œ μ˜ˆμ™Έκ°€ λ°œμƒν–ˆμ„λ•Œ

[IOException] EOFException 파일의 끝에 λ„λ‹¬ν–ˆμ„λ•Œ

[IOException] FileNotFoundException 파일이 λ°œκ²¬λ˜μ§€ μ•Šμ•˜μ„λ•Œ

[IOException] InterruptedIOException μž…μΆœλ ₯ μ²˜λ¦¬κ°€ 쀑단 λ˜μ—ˆμ„λ•Œ

[IOException][ObjectStreamException] InvalidClassException μ‹œλ¦¬μ–ΌλΌμ΄μ¦ˆ μ²˜λ¦¬μ— κ΄€ν•œ λ¬Έμ œκ°€ 클래슀 μ•ˆμ— μžˆμ„λ•Œ

[IOException][ObjectStreamException] InvalidObjectException μ‹œλ¦¬μ–ΌλΌμ΄μ¦ˆλœ μ˜€λΈŒμ νŠΈμ—μ„œ μž…λ ₯ 검증에 μ‹€νŒ¨ν–ˆμ„λ•Œ

[IOException][ObjectStreamException] NotActiveException 슀트림 ν™˜κ²½μ΄ μ•‘ν‹°λΈŒν•˜μ§€ μ•Šμ„ λ•Œ λ©”μ†Œλ“œλ₯Ό ν˜ΈμΆœν–ˆμ„λ•Œ

[IOException][ObjectStreamException] NotSerializableException 였브젝트λ₯Ό μ‹œλ¦¬μ–ΌλΌμ΄μ¦ˆ ν•  수 μ—†μ„λ•Œ

[IOException][ObjectStreamException] OptionalDataException 였브젝트λ₯Ό μ½μ„λ•Œ κΈ°λŒ€ μ΄μ™Έμ˜ 데이터와 λ§Œλ‚¬μ„λ•Œ

[IOException][ObjectStreamException] StreamCorruptedException 읽은 데이터 슀트림이 νŒŒμ†λ˜μ–΄ μžˆμ„λ•Œ

[IOException][ObjectStreamException] WriteAbortedException 기둝쀑에 μ˜ˆμ™Έκ°€ λ°œμƒν•œ μŠ€νŠΈλ¦Όμ„ μ½μ—ˆμ„λ•Œ

[IOException] SyncFailedException μ‹œμŠ€ν…œ 버퍼λ₯Ό λ™κΈ°μ‹œν‚€λŠ” FileDescriptor.sync()의 호좜 μ‹€νŒ¨μ‹œ

[IOException] UnsupportedEncodingException μ§€μ •λœ 문자 λΆ€ν˜Έν™” ν˜•μ‹μ„ μ§€μ›ν•˜κ³  μžˆμ§€ μ•Šμ„λ•Œ

[IOException] UTFDataFormatException λΆ€μ •ν•œ UTF-8방식 λ¬Έμžμ—΄κ³Ό λ§Œλ‚¬μ„λ•Œ

[RuntimeException] ArithmeticException μ œλ‘œμ œμ‚° λ“±μ˜ μ‚°μˆ  μ˜ˆμ™Έ λ°œμƒμ‹œ

[RuntimeException] ArrayStoreException 배열에 λΆ€μ •ν•œ ν˜•νƒœμ˜ 였브젝트λ₯Ό μ €μž₯ν•˜κ³ μž ν• λ•Œ

[RuntimeException] [IllegalArgumentException] IllegalThreadStateException μ“°λ ˆλ“œκ°€ μš”κ΅¬λœ 처리λ₯Ό ν•˜κΈ°μ— μ ν•©ν•œ μƒνƒœμ— μžˆμ§€ μ•Šμ„λ•Œ

[RuntimeException] [IllegalArgumentException] NumberFormatException λΆ€μ μ ˆν•œ λ¬Έμžμ—΄μ„ 수치둜 λ³€ν™˜ν•˜κ³ μž ν• λ•Œ

[RuntimeException] IllegalMonitorStateException λͺ¨λ‹ˆν„° μƒνƒœκ°€ λΆ€μ •μΌλ•Œ

[RuntimeException] IllegalStateException λ©”μ†Œλ“œκ°€ μš”κ΅¬λœ 처리λ₯Ό ν•˜κΈ°μ— μ ν•©ν•œ μƒνƒœμ— μžˆμ§€ μ•Šμ„λ•Œ

[RuntimeException] [IndexOutOfBoundException] ArrayIndexOutOfBoundsException λ²”μœ„ λ°–μ˜ λ°°μ—΄ 첨자 μ§€μ •μ‹œ

[RuntimeException] [IndexOutOfBoundException] StringIndexOutOfBoundsException λ²”μœ„ λ°–μ˜ String 첨자 μ§€μ •μ‹œ

[RuntimeException] NegativeArraySizeException 음의 크기둜 λ°°μ—΄ 크기λ₯Ό μ§€μ •ν•˜μ˜€μ„λ•Œ

[RuntimeException] NullPointerException null 였브젝트둜 μ ‘κ·Όν–ˆμ„λ•Œ

[RuntimeException] SecurityException λ³΄μ•ˆ μœ„λ°˜μ‹œ

[RuntimeException] UnsupportedOperationException μ§€μ›λ˜μ§€ μ•ŠλŠ” λ©”μ†Œλ“œλ₯Ό ν˜ΈμΆœν–ˆμ„λ•Œ

@ Error

[LinkageError] ClassCircularityError 클래슀 μ΄ˆκΈ°ν™”μ€‘μ— μˆœν™˜ μ°Έμ‘°λ₯Ό κ²€μΆœμ‹œ

[LinkageError] [ClassFormatError] UnsupportedClassVersionError JVM이 μ§€μ›λ˜μ§€ μ•ŠλŠ” λ²„μ „μ˜ 번호λ₯Ό 가진 클래슀 νŒŒμΌμ„ 읽고자 ν• λ•Œ

[LinkageError] ExceptionInInitializerError 정적 μ΄λ‹ˆμ…œλΌμ΄μ €λ‘œ μ˜ˆμ™Έκ°€ λ°œμƒμ‹œ

[LinkageError] [IncompatibleClassChangeError] AbstracMethodError 좔상 λ©”μ†Œλ“œλ₯Ό ν˜ΈμΆœν–ˆμ„λ•Œ

[LinkageError] [IncompatibleClassChangeError] IllegalAccessError μ ‘κ·Όν•  수 μ—†λŠ” λ©”μ†Œλ“œμ™€ ν•„λ“œλ₯Ό μ‚¬μš©ν•˜κ³ μž ν–ˆμ„λ•Œ

[LinkageError] [IncompatibleClassChangeError] InstantiationError μΈν„°νŽ˜μ΄μŠ€ λ˜λŠ” 좔상 클래슀λ₯Ό μΈμŠ€ν„΄μŠ€ν™”ν•˜κ³ μž ν–ˆμ„λ•Œ

[LinkageError] [IncompatibleClassChangeError] NoSuchFieldError μ§€μ •ν•œ ν•„λ“œκ°€ μ‘΄μž¬ν•˜μ§€ μ•Šμ„λ•Œ

[LinkageError] [IncompatibleClassChangeError] NoSuchMethodError μ§€μ •ν•œ λ©”μ†Œλ“œκ°€ μ‘΄μž¬ν•˜μ§€ μ•Šμ„λ•Œ

[LinkageError] NoClassDefFoundError 클래슀 μ •μ˜κ°€ λ°œκ²¬λ˜μ§€ μ•Šμ•˜μ„λ•Œ

[LinkageError] UnsatisfieldLinkError ν΄λž˜μŠ€μ— ν¬ν•¨λ˜λŠ” 링크 정보λ₯Ό ν•΄κ²°ν•  수 μ—†μ„λ•Œ

[LinkageError] VerifyError 클래슀 νŒŒμΌμ•ˆμ— λΆ€μ μ ˆν•œ 뢀뢄이 μžˆμ„λ•Œ

ThreadDeath μ“°λ ˆλ“œκ°€ μ •μ§€ν•΄μ•Όλ§Œ ν•œλ‹€λŠ” 의미

[VirtualMachineError] InternalError λ‚΄λΆ€μ—λŸ¬

[VirtualMachineError] OutOfMemoryError λ©”λͺ¨λ¦¬λΆ€μ‘±μœΌλ‘œ λ©”λͺ¨λ¦¬λ₯Ό 확보 λͺ»ν•¨

[VirtualMachineError] StackOverflowError μŠ€νƒ μ˜€λ²„ λ°œμƒ

[VirtualMachineError] UnknownError μ‹¬κ°ν•œ μ˜ˆμ™Έλ°œμƒ

 

'java' μΉ΄ν…Œκ³ λ¦¬μ˜ λ‹€λ₯Έ κΈ€

JSP - κ²Œμ‹œνŒλ§Œλ“€κΈ°(1) - νŒ©ν† λ¦¬ νŒ¨ν„΄ 예제  (0) 2020.11.09
MVCνŒ¨ν„΄  (0) 2020.11.09
JSP - κ°œλ…μ •λ¦¬  (0) 2020.11.09
jsp - include  (0) 2020.10.30
jsp- request객체  (0) 2020.10.30