-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RM-3669: Fix SonarQube found issues (#4)
RM-3669: Fix SonarQube found issues
- Loading branch information
1 parent
8ad6d2c
commit f0a81dc
Showing
5 changed files
with
24 additions
and
3 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
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
server-common/src/main/java/ee/cyber/cdoc2/server/exeptions/JobFailureException.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 ee.cyber.cdoc2.server.exeptions; | ||
|
||
|
||
/** | ||
* Thrown when scheduled job execution has failed. | ||
*/ | ||
public class JobFailureException extends RuntimeException { | ||
|
||
/** | ||
* Error message constructor | ||
* @param message error message text | ||
* @param exception thrown exception | ||
*/ | ||
public JobFailureException(String message, Throwable exception) { | ||
super(message, exception); | ||
} | ||
|
||
} |