Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bc5a08b
commit 86083b2
Showing
9 changed files
with
67 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
src/main/java/com/cheese/demo/user/exception/EmailDuplicatedException.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 21 additions & 21 deletions
42
src/main/java/com/cheese/demo/user/exception/UserNotFoundException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
package com.cheese.demo.user.exception; | ||
|
||
import com.cheese.demo.commons.ErrorCodeEnum; | ||
import lombok.extern.slf4j.Slf4j; | ||
|
||
@Slf4j | ||
public class UserNotFoundException extends RuntimeException { | ||
|
||
private Long id; | ||
|
||
public UserNotFoundException(Long id) { | ||
super(String.valueOf(ErrorCodeEnum.USER_NOT_FOUND)); | ||
log.error(ErrorCodeEnum.USER_NOT_FOUND.getMessage(), id); | ||
this.id = id; | ||
} | ||
|
||
public Long getId() { | ||
return id; | ||
} | ||
} | ||
|
||
//package com.cheese.demo.user.exception; | ||
// | ||
//import com.cheese.demo.commons.ErrorCodeEnum; | ||
//import lombok.extern.slf4j.Slf4j; | ||
// | ||
//@Slf4j | ||
//public class UserNotFoundException extends RuntimeException { | ||
// | ||
// private Long id; | ||
// | ||
// public UserNotFoundException(Long id) { | ||
// super(String.valueOf(ErrorCodeEnum.USER_NOT_FOUND)); | ||
// log.error(ErrorCodeEnum.USER_NOT_FOUND.getMessage(), id); | ||
// this.id = id; | ||
// } | ||
// | ||
// public Long getId() { | ||
// return id; | ||
// } | ||
//} | ||
// |