Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyuan
byit-myth-job
Commits
cb55130d
Commit
cb55130d
authored
Apr 03, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XML解析错误枚举及异常定义
parent
ef95e428
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
0 deletions
+35
-0
LauncherEnum.java
...rpc-common/src/main/java/com/byit/enums/LauncherEnum.java
+25
-0
LauncherException.java
...on/src/main/java/com/byit/exptions/LauncherException.java
+10
-0
No files found.
byit-plugin-core/byit-plugin-rpc-common/src/main/java/com/byit/enums/LauncherEnum.java
0 → 100644
View file @
cb55130d
package
com
.
byit
.
enums
;
/**
* @author huangfu
*/
public
enum
LauncherEnum
{
XML_PORT_SET_ERROR
(
"配置文件端口出现错误!"
),
XML_DATA_ERROR
(
"配置文件解析失败,或配置不正确!"
),
XML_AUTO_VALUE_ERROR
(
"自动扫描配置只能为true或者false"
),
;
private
String
msg
;
public
String
getMsg
()
{
return
msg
;
}
public
void
setMsg
(
String
msg
)
{
this
.
msg
=
msg
;
}
LauncherEnum
(
String
msg
)
{
this
.
msg
=
msg
;
}
}
byit-plugin-core/byit-plugin-rpc-common/src/main/java/com/byit/exptions/LauncherException.java
0 → 100644
View file @
cb55130d
package
com
.
byit
.
exptions
;
/**
* @author huangfu
*/
public
class
LauncherException
extends
RuntimeException
{
public
LauncherException
(
String
message
)
{
super
(
message
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment