forked from secureCodeBox/defectdojo-client-java
-
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.
secureCodeBox#121 Introduce Our Own Exception Type Hierarchy
Signed-off-by: Sven Strittmatter <[email protected]>
- Loading branch information
1 parent
8996df9
commit 7a5af86
Showing
5 changed files
with
24 additions
and
20 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
15 changes: 0 additions & 15 deletions
15
src/main/java/io/securecodebox/persistence/defectdojo/exception/LoopException.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
16 changes: 16 additions & 0 deletions
16
...ain/java/io/securecodebox/persistence/defectdojo/exception/TooManyResponsesException.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,16 @@ | ||
// SPDX-FileCopyrightText: the secureCodeBox authors | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
package io.securecodebox.persistence.defectdojo.exception; | ||
|
||
import io.securecodebox.persistence.defectdojo.config.Config; | ||
|
||
/** | ||
* Thrown if we receive more objects than {@link Config#getMaxPageCountForGets() configured} | ||
*/ | ||
public final class TooManyResponsesException extends PersistenceException { | ||
public TooManyResponsesException(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