-
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 #47 from MARU-EGG/refactor/exception-추가
[refactor] webClient exception 추가로 예외처리
- Loading branch information
Showing
9 changed files
with
102 additions
and
4 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
13 changes: 13 additions & 0 deletions
13
...va/mju/iphak/maru_egg/common/exception/custom/webClient/BadRequestWebClientException.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,13 @@ | ||
package mju.iphak.maru_egg.common.exception.custom.webClient; | ||
|
||
import org.springframework.web.reactive.function.client.WebClientException; | ||
|
||
public class BadRequestWebClientException extends WebClientException { | ||
public BadRequestWebClientException(final String msg) { | ||
super(msg); | ||
} | ||
|
||
public BadRequestWebClientException(final String msg, final Throwable ex) { | ||
super(msg, ex); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...hak/maru_egg/common/exception/custom/webClient/InternalServerErrorWebClientException.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,13 @@ | ||
package mju.iphak.maru_egg.common.exception.custom.webClient; | ||
|
||
import org.springframework.web.reactive.function.client.WebClientException; | ||
|
||
public class InternalServerErrorWebClientException extends WebClientException { | ||
public InternalServerErrorWebClientException(final String msg) { | ||
super(msg); | ||
} | ||
|
||
public InternalServerErrorWebClientException(final String msg, final Throwable ex) { | ||
super(msg, ex); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...java/mju/iphak/maru_egg/common/exception/custom/webClient/NotFoundWebClientException.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,13 @@ | ||
package mju.iphak.maru_egg.common.exception.custom.webClient; | ||
|
||
import org.springframework.web.reactive.function.client.WebClientException; | ||
|
||
public class NotFoundWebClientException extends WebClientException { | ||
public NotFoundWebClientException(final String msg) { | ||
super(msg); | ||
} | ||
|
||
public NotFoundWebClientException(final String msg, final Throwable ex) { | ||
super(msg, ex); | ||
} | ||
} |
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