Whiteship
  • Home
  • 인프런 강의
  • Java
  • Spring
  • JPA
  • SDE Tips
Subscribe
Tagged

Handling exceptions

A collection of 1 post

Handling exceptions

13.10. Handling exceptions

특정 예외가 발생했을 때 특정 페이지로 이동 시킬 수 있습니다. 먼저 컨트롤러든 서비스 단이든 벨리데이션 할 때든 에러를 발생시킵니다. 예외 처리 할 것도 없기 때문에 RuntimeException이 좋겠네요.     public void add(MemberInfo memberInfo) {        if(memberInfo.getConfirmMember().equals(“ajnapaqj”)){         

  • 백기선
백기선 May 21, 2007 • 2 min read
Whiteship © 2022
Powered by Ghost