forked from halo-dev/halo
-
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.
Co-authored-by: xiangbei.yzx <[email protected]>
- Loading branch information
zhixiangyuan
and
xiangbei.yzx
authored
Aug 10, 2020
1 parent
3f2fefa
commit a318abc
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
src/main/java/run/halo/app/exception/ImageFormatException.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,18 @@ | ||
package run.halo.app.exception; | ||
|
||
/** | ||
* Image format exception. | ||
* | ||
* @author ZhiXiang Yuan | ||
* @date 2020/08/10 02:11 | ||
*/ | ||
public class ImageFormatException extends BadRequestException { | ||
|
||
public ImageFormatException(String message) { | ||
super(message); | ||
} | ||
|
||
public ImageFormatException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
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