-
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.
Task 31 : Add StoreReentryTooSoonException with revision codes by add…
…ing its tests
- Loading branch information
1 parent
cd76e9c
commit 40c9a08
Showing
6 changed files
with
153 additions
and
45 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
18 changes: 18 additions & 0 deletions
18
...a/com/casestudy/migroscouriertracking/courier/exception/StoreReentryTooSoonException.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,18 @@ | ||
package com.casestudy.migroscouriertracking.courier.exception; | ||
|
||
/** | ||
* Exception thrown when a courier attempts to reenter the circumference of a store | ||
* within a restricted time frame. | ||
*/ | ||
public class StoreReentryTooSoonException extends RuntimeException { | ||
|
||
/** | ||
* Constructs a new StoreReentryTooSoonException with the specified detail message. | ||
* | ||
* @param message the detail message explaining the reason for the exception | ||
*/ | ||
public StoreReentryTooSoonException(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
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