-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: VSDSPUB-349: Add Gone status to soft deleted fragments
- Loading branch information
1 parent
d690a8c
commit 9a48041
Showing
4 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
...aanderen/informatievlaanderen/ldes/server/domain/exceptions/DeletedFragmentException.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 @@ | ||
package be.vlaanderen.informatievlaanderen.ldes.server.domain.exceptions; | ||
|
||
public class DeletedFragmentException extends RuntimeException { | ||
private final String fragmentId; | ||
|
||
public DeletedFragmentException(String fragmentId) { | ||
super(); | ||
this.fragmentId = fragmentId; | ||
} | ||
|
||
@Override | ||
public String getMessage() { | ||
return "Fragment with following identifier has been deleted: " + fragmentId; | ||
} | ||
|
||
} |
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