forked from liyifeng1994/ssm
-
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
liyifeng
committed
Feb 28, 2017
1 parent
0e967c9
commit dd99874
Showing
5 changed files
with
71 additions
and
4 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
src/main/java/com/soecode/lyf/exception/AppointException.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,16 @@ | ||
package com.soecode.lyf.exception; | ||
|
||
/** | ||
* 预约业务异常 | ||
*/ | ||
public class AppointException extends RuntimeException { | ||
|
||
public AppointException(String message) { | ||
super(message); | ||
} | ||
|
||
public AppointException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
|
||
} |
16 changes: 16 additions & 0 deletions
16
src/main/java/com/soecode/lyf/exception/NoNumberException.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,16 @@ | ||
package com.soecode.lyf.exception; | ||
|
||
/** | ||
* 库存不足异常 | ||
*/ | ||
public class NoNumberException extends RuntimeException { | ||
|
||
public NoNumberException(String message) { | ||
super(message); | ||
} | ||
|
||
public NoNumberException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
|
||
} |
16 changes: 16 additions & 0 deletions
16
src/main/java/com/soecode/lyf/exception/RepeatAppointException.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,16 @@ | ||
package com.soecode.lyf.exception; | ||
|
||
/** | ||
* 重复预约异常 | ||
*/ | ||
public class RepeatAppointException extends RuntimeException { | ||
|
||
public RepeatAppointException(String message) { | ||
super(message); | ||
} | ||
|
||
public RepeatAppointException(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
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