-
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.
- Loading branch information
1 parent
4e12265
commit a54a5de
Showing
8 changed files
with
237 additions
and
49 deletions.
There are no files selected for viewing
21 changes: 0 additions & 21 deletions
21
...rc/main/java/com/objectstorage/exception/FileUnitsLocationsRetrievalFailureException.java
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
api-server/src/main/java/com/objectstorage/exception/FileUnitsRetrievalFailureException.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.objectstorage.exception; | ||
|
||
import java.io.IOException; | ||
import java.util.Arrays; | ||
import java.util.Formatter; | ||
|
||
/** | ||
* Represents exception used when file units retrieval operation fails. | ||
*/ | ||
public class FileUnitsRetrievalFailureException extends IOException { | ||
public FileUnitsRetrievalFailureException() { | ||
this(""); | ||
} | ||
|
||
public FileUnitsRetrievalFailureException(Object... message) { | ||
super( | ||
new Formatter() | ||
.format("File units retrieval operation failed: %s", Arrays.stream(message).toArray()) | ||
.toString()); | ||
} | ||
} |
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
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
Oops, something went wrong.