Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
Tags
- ec2
- Spring
- 자바
- 예외
- 이펙티브 자바
- 파라미터 그룹
- spring-security
- 바이트코드
- springboot
- java
- 보안 그룹
- 피리티어
- 생각정리
- Unchecked Exception
- AWS
- Effective Java
- Checked Exception
- try-with-reources
- Final
- error
- 자바스터디
- 이펙티브자바
- RDS
- https
- bytecode
- Annotation
- exception
- JVM
Archives
- Today
- Total
목록Checked Exception (1)
개발 일지
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/mz8iU/btrQq6cKwmq/eYZiuDFZqfZ4TZ0rlwKROK/img.png)
중복아이디 확인 코드를 작성하다가 IllegalArgumentException 을 IllegalAccessException 로 타이핑을 하게 되었는데 IllegalAccessException 은 IllegalArgumentException과는 다르게 throws Exception을 작성하지 않으면 빨간 줄이 뜨는 것을 보고 같은 Exception인데 왜 이런 차이가 나는지 궁금해서 찾아보게 되었다. 궁금증은 Exception 클래스를 열어보니 어느정도 해결이 되었습니다. 아래는 Exception class 에 주석 내용입니다. The class Exception and any subclasses that are not also subclasses of RuntimeException are checked ..
Java
2022. 11. 7. 18:58