Skip to content

Commit

Permalink
예외시 에러 출력 함수
Browse files Browse the repository at this point in the history
  • Loading branch information
imgzon3 committed Jul 30, 2021
1 parent 7345e72 commit fd330a5
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package com.session.springsession.exception;

public class CustomAuthenticationException extends RuntimeException{

public CustomAuthenticationException() {
super(ErrorCode.AUTHENTICATION_FAILED.getMassage());
}

public CustomAuthenticationException(Exception ex) {
super(ex);
}
}

0 comments on commit fd330a5

Please sign in to comment.