-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from waterflow80/fix-for-issue-70
Checking for undefined attributes that could be sent by the user in the comparison POST request
- Loading branch information
Showing
3 changed files
with
24 additions
and
7 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
11 changes: 11 additions & 0 deletions
11
src/main/java/uk/ac/ebi/eva/evaseqcol/exception/AttributeNotDefinedException.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,11 @@ | ||
package uk.ac.ebi.eva.evaseqcol.exception; | ||
|
||
/** | ||
* This exception should be thrown when an undefined seqcol attribute has | ||
* been given (normally by the user in the POST comparison request's body)*/ | ||
public class AttributeNotDefinedException extends RuntimeException{ | ||
|
||
public AttributeNotDefinedException(String msg) { | ||
super(msg); | ||
} | ||
} |
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