-
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.
Merge branch 'master' into master_github
# Conflicts: # README.md
- Loading branch information
Showing
8 changed files
with
106 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,4 +25,6 @@ | |
|
||
int timeout() default -1;//默认60s | ||
|
||
String ip_port() default "";//指定要请求的服务端127.0.0.1:8080 | ||
|
||
} |
14 changes: 14 additions & 0 deletions
14
src/main/java/com/qinsong/rpc/common/exp/NotFoundException.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,14 @@ | ||
package com.qinsong.rpc.common.exp; | ||
|
||
/** | ||
* Created by QSong | ||
* Contact github.com/tohodog | ||
* Date 2020/11/25 | ||
* 未发现服务接口 | ||
*/ | ||
public class NotFoundException extends Exception { | ||
|
||
public NotFoundException() { | ||
super("NotFoundException"); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
src/main/java/com/qinsong/rpc/common/exp/UnavailableException.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,13 @@ | ||
package com.qinsong.rpc.common.exp; | ||
|
||
/** | ||
* Created by QSong | ||
* Contact github.com/tohodog | ||
* Date 2020/11/25 | ||
* 拒绝处理 | ||
*/ | ||
public class UnavailableException extends Exception { | ||
public UnavailableException() { | ||
super("UnavailableException"); | ||
} | ||
} |
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