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 | 31 |
Tags
- 생각정리
- AWS
- Annotation
- 바이트코드
- Effective Java
- 예외
- JVM
- 이펙티브자바
- 파라미터 그룹
- Final
- error
- 자바스터디
- https
- 피리티어
- RDS
- exception
- try-with-reources
- bytecode
- Checked Exception
- java
- Spring
- 이펙티브 자바
- spring-security
- 보안 그룹
- Unchecked Exception
- 자바
- springboot
- ec2
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