-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
now catching UnableToExecuteStatementException
- Loading branch information
1 parent
0d2a583
commit cf1d909
Showing
6 changed files
with
53 additions
and
32 deletions.
There are no files selected for viewing
21 changes: 0 additions & 21 deletions
21
.../com/exacaster/lighter/application/sessions/exceptions/SessionAlreadyExistsException.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
21 changes: 21 additions & 0 deletions
21
server/src/main/java/com/exacaster/lighter/storage/ApplicationAlreadyExistsException.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,21 @@ | ||
package com.exacaster.lighter.storage; | ||
|
||
public class ApplicationAlreadyExistsException extends RuntimeException { | ||
private final String applicationId; | ||
|
||
public ApplicationAlreadyExistsException(String applicationId) { | ||
super("Application already exists"); | ||
this.applicationId = applicationId; | ||
} | ||
|
||
public String getApplicationId() { | ||
return applicationId; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "ApplicationAlreadyExistsException{" + | ||
"applicationId='" + applicationId + '\'' + | ||
'}'; | ||
} | ||
} |
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