-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
定义 UnsupportedDataTypeException 类代替 javax.activation.UnsupportedDataTypeException,并移除 javax.activation 依赖
- Loading branch information
Showing
8 changed files
with
31 additions
and
14 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
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
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
26 changes: 26 additions & 0 deletions
26
APIJSONORM/src/main/java/apijson/orm/exception/UnsupportedDataTypeException.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,26 @@ | ||
/*Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved. | ||
This source code is licensed under the Apache License Version 2.0.*/ | ||
|
||
|
||
package apijson.orm.exception; | ||
|
||
import java.io.IOException; | ||
|
||
/** | ||
* 给定的数据类型不被支持 | ||
* | ||
* @author cnscoo | ||
*/ | ||
|
||
public class UnsupportedDataTypeException extends IOException { | ||
private static final long serialVersionUID = 1L; | ||
|
||
public UnsupportedDataTypeException() { | ||
super(); | ||
} | ||
|
||
public UnsupportedDataTypeException(String s) { | ||
super(s); | ||
} | ||
} |