1 /**
2 * 付款會員狀態異常
3 * @author sxf
4 *
5 */
6 public class PaymentMemberStateException extends BaseException{
7
8 /**
9 *
10 */
11 private static final long serialVersionUID = -8508340203244322249L;
12
13 protected static final String _CODE="payment.member.state";
14
15 protected static final String DOT=".";
16
17 public PaymentMemberStateException(String module, String code,String message, Throwable cause, Object[] args) {
18 super(module, _CODE+code, message, cause, args);
19
20 }
21
22 public PaymentMemberStateException(String module, String code,String message, Throwable cause) {
23 super(module, _CODE+code, message, cause);
24 }
25
26 public PaymentMemberStateException(String module, String code,String message) {
27 super(module, _CODE+code, message);
28 }
29
30 public PaymentMemberStateException(String module, String code) {
31 super(module, _CODE+code);
32 }
33
34 @Override
35 public String getSuperCode() {
36 String code = super._CODE+_CODE;
37 return StringUtils.substringBeforeLast(code, DOT);
38 }
39
40
41
42
43 }