forked from EBIvariation/eva-seqcol
-
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.
removed unnecessary json response for some ingestion cases and set th…
…e right response status codes
- Loading branch information
1 parent
c762c3e
commit 6b5917d
Showing
4 changed files
with
70 additions
and
25 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
7 changes: 7 additions & 0 deletions
7
src/main/java/uk/ac/ebi/eva/evaseqcol/exception/AssemblyAlreadyIngestedException.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,7 @@ | ||
package uk.ac.ebi.eva.evaseqcol.exception; | ||
|
||
public class AssemblyAlreadyIngestedException extends RuntimeException{ | ||
public AssemblyAlreadyIngestedException(String assemblyAccession) { | ||
super("Seqcol objects for assembly " + assemblyAccession + " has been already ingested"); | ||
} | ||
} |
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