-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #162 from TrainingDiary/feature/trainee-view-train…
…ee-info 트레이너의 트레이니 조회 API 트레이니 본인도 조회할 수 있도록 구현
- Loading branch information
Showing
5 changed files
with
385 additions
and
106 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
11 changes: 11 additions & 0 deletions
11
src/main/java/com/project/trainingdiary/exception/user/UnauthorizedTraineeException.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.project.trainingdiary.exception.user; | ||
|
||
import com.project.trainingdiary.exception.GlobalException; | ||
import org.springframework.http.HttpStatus; | ||
|
||
public class UnauthorizedTraineeException extends GlobalException { | ||
|
||
public UnauthorizedTraineeException() { | ||
super(HttpStatus.BAD_REQUEST, "다른 트레이니 정보를 볼 수 없습니다."); | ||
} | ||
} |
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
Oops, something went wrong.