-
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
82fdb35
commit 03a78e1
Showing
6 changed files
with
142 additions
and
32 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
...rc/main/java/com/objectstorage/exception/ProcessorContentApplicationFailureException.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 processor content application operation fails. | ||
*/ | ||
public class ProcessorContentApplicationFailureException extends IOException { | ||
public ProcessorContentApplicationFailureException() { | ||
this(""); | ||
} | ||
|
||
public ProcessorContentApplicationFailureException(Object... message) { | ||
super( | ||
new Formatter() | ||
.format("ObjectStorage processor content application failed: %s", Arrays.stream(message).toArray()) | ||
.toString()); | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...r/src/main/java/com/objectstorage/exception/ProcessorContentDownloadFailureException.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 processor content download operation fails. | ||
*/ | ||
public class ProcessorContentDownloadFailureException extends IOException { | ||
public ProcessorContentDownloadFailureException() { | ||
this(""); | ||
} | ||
|
||
public ProcessorContentDownloadFailureException(Object... message) { | ||
super( | ||
new Formatter() | ||
.format("ObjectStorage processor content download failed: %s", Arrays.stream(message).toArray()) | ||
.toString()); | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...ver/src/main/java/com/objectstorage/exception/ProcessorContentUploadFailureException.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 processor content upload operation fails. | ||
*/ | ||
public class ProcessorContentUploadFailureException extends IOException { | ||
public ProcessorContentUploadFailureException() { | ||
this(""); | ||
} | ||
|
||
public ProcessorContentUploadFailureException(Object... message) { | ||
super( | ||
new Formatter() | ||
.format("ObjectStorage processor content upload 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