-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pivotal ID # 185649200: Cater For Paths Ending With Backslash (#771)
https://www.pivotaltracker.com/story/show/185649200 - Include the file list help url in the error message for invalid paths - Include the task to auto deploy the stats reporter task which was forgotten in a previous PR
- Loading branch information
1 parent
4b0d3ff
commit e57cabe
Showing
4 changed files
with
41 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
8 changes: 7 additions & 1 deletion
8
commons/commons-bio/src/main/kotlin/ebi/ac/uk/errors/InvalidPathException.kt
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 |
---|---|---|
@@ -1,3 +1,9 @@ | ||
package ebi.ac.uk.errors | ||
|
||
class InvalidPathException(path: String) : RuntimeException("The given file path contains invalid characters: $path") | ||
class InvalidPathException(val path: String) : RuntimeException() { | ||
override val message: String | ||
get() = """ | ||
The given file path contains invalid characters: $path | ||
For more information check https://www.ebi.ac.uk/bioimage-archive/help-file-list | ||
""" | ||
} |
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