-
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.
fix: [P4PU-753] added custom exception (#176)
* P4PU-753 added custom exception * P4PU-753 added tests
- Loading branch information
1 parent
75fb0e0
commit 3a32ea6
Showing
7 changed files
with
126 additions
and
15 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
10 changes: 10 additions & 0 deletions
10
src/main/java/it/gov/pagopa/arc/exception/custom/GPDInvalidRequestException.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,10 @@ | ||
package it.gov.pagopa.arc.exception.custom; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public class GPDInvalidRequestException extends RuntimeException{ | ||
public GPDInvalidRequestException(String message){ | ||
super(message); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/java/it/gov/pagopa/arc/exception/custom/GPDInvocationException.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 it.gov.pagopa.arc.exception.custom; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public class GPDInvocationException extends RuntimeException{ | ||
|
||
public GPDInvocationException(String message){ | ||
super(message); | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...ain/java/it/gov/pagopa/arc/exception/custom/GPDPaymentNoticeDetailsNotFoundException.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,10 @@ | ||
package it.gov.pagopa.arc.exception.custom; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public class GPDPaymentNoticeDetailsNotFoundException extends RuntimeException{ | ||
public GPDPaymentNoticeDetailsNotFoundException(String message){ | ||
super(message); | ||
} | ||
} |
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