-
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
Showing
10 changed files
with
165 additions
and
158 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
30 changes: 30 additions & 0 deletions
30
common/src/main/java/name/guolanren/exception/BusinessException.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,30 @@ | ||
package name.guolanren.exception; | ||
|
||
/** | ||
* @author guolanren | ||
*/ | ||
public class BusinessException extends RuntimeException { | ||
|
||
public BusinessException() { | ||
super(); | ||
} | ||
|
||
public BusinessException(String message, Throwable cause, | ||
boolean enableSuppression, | ||
boolean writableStackTrace) { | ||
super(message, cause, enableSuppression, writableStackTrace); | ||
} | ||
|
||
public BusinessException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
|
||
public BusinessException(String message) { | ||
super(message); | ||
} | ||
|
||
public BusinessException(Throwable cause) { | ||
super(cause); | ||
} | ||
|
||
} |
31 changes: 0 additions & 31 deletions
31
common/src/main/java/name/guolanren/exception/ExpiredSessionException.java
This file was deleted.
Oops, something went wrong.
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
31 changes: 0 additions & 31 deletions
31
common/src/main/java/name/guolanren/exception/InvalidParamException.java
This file was deleted.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
common/src/main/java/name/guolanren/exception/SessionInvalidException.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,29 @@ | ||
package name.guolanren.exception; | ||
|
||
/** | ||
* @author guolanren | ||
*/ | ||
public class SessionInvalidException extends RuntimeException { | ||
|
||
public SessionInvalidException() { | ||
super(); | ||
} | ||
|
||
public SessionInvalidException(String message, Throwable cause, | ||
boolean enableSuppression, | ||
boolean writableStackTrace) { | ||
super(message, cause, enableSuppression, writableStackTrace); | ||
} | ||
|
||
public SessionInvalidException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
|
||
public SessionInvalidException(String message) { | ||
super(message); | ||
} | ||
|
||
public SessionInvalidException(Throwable cause) { | ||
super(cause); | ||
} | ||
} |
58 changes: 0 additions & 58 deletions
58
common/src/main/java/name/guolanren/http/ResultEntity.java
This file was deleted.
Oops, something went wrong.
37 changes: 21 additions & 16 deletions
37
.../java/name/guolanren/http/ResultCode.java → ...e/guolanren/http/response/ResultCode.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
Oops, something went wrong.