public class ClientRuleException
extends com.xforceplus.tenant.data.exception.DataCoreException
Title: 客户端数据规则
Description: 客户端数据规则
Copyright: 2015~2021
Company/Department: xforceplus
| 构造器和说明 |
|---|
ClientRuleException(com.xforceplus.tenant.data.exception.ErrorCode errorCode)
定义异常代码
|
ClientRuleException(com.xforceplus.tenant.data.exception.ErrorCode errorCode,
com.xforceplus.tenant.data.exception.Params params)
定义异常类,可以定义参数
|
ClientRuleException(com.xforceplus.tenant.data.exception.ErrorCode errorCode,
Throwable cause)
定义错误代码
|
ClientRuleException(com.xforceplus.tenant.data.exception.ErrorCode errorCode,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace,
com.xforceplus.tenant.data.exception.Params params)
构建异常类
|
ClientRuleException(com.xforceplus.tenant.data.exception.ErrorCode errorCode,
Throwable cause,
com.xforceplus.tenant.data.exception.Params params)
使用异常代码定义
|
ClientRuleException(String code)
Constructs a new runtime exception with
null as its
detail message. |
ClientRuleException(String code,
String message)
Constructs a new runtime exception with the specified detail message.
|
ClientRuleException(String code,
String message,
com.xforceplus.tenant.data.exception.Params params)
定义异常类,可以定义参数
|
ClientRuleException(String code,
String message,
Throwable cause)
Constructs a new runtime exception with the specified detail message and
cause.
|
ClientRuleException(String code,
String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Constructs a new runtime exception with the specified detail
message, cause, suppression enabled or disabled, and writable
stack trace enabled or disabled.
|
ClientRuleException(String code,
String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace,
com.xforceplus.tenant.data.exception.Params params)
Constructs a new runtime exception with the specified detail
message, cause, suppression enabled or disabled, and writable
stack trace enabled or disabled.
|
ClientRuleException(String code,
String message,
Throwable cause,
com.xforceplus.tenant.data.exception.Params params)
Constructs a new runtime exception with the specified detail message and
cause.
|
ClientRuleException(String code,
Throwable cause)
Constructs a new runtime exception with the specified cause and a
detail message of (cause==null ?
|
getCode, getLocalizedMessage, getMessage, getParams, toStringaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ClientRuleException(String code)
null as its
detail message. The cause is not initialized, and may subsequently be
initialized by a call to Throwable.initCause(java.lang.Throwable).code - public ClientRuleException(String code, String message)
Throwable.initCause(java.lang.Throwable).code - message - the detail message. The detail message is saved for
later retrieval by the DataCoreException.getMessage() method.public ClientRuleException(com.xforceplus.tenant.data.exception.ErrorCode errorCode)
errorCode - ErrorCodepublic ClientRuleException(String code, String message, com.xforceplus.tenant.data.exception.Params params)
code - 代码message - 消息params - public ClientRuleException(com.xforceplus.tenant.data.exception.ErrorCode errorCode,
com.xforceplus.tenant.data.exception.Params params)
errorCode - 异常错误代码params - 参数public ClientRuleException(String code, String message, Throwable cause)
Note that the detail message associated with
cause is not automatically incorporated in
this runtime exception's detail message.
code - message - the detail message (which is saved for later retrieval
by the DataCoreException.getMessage() method).cause - the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)public ClientRuleException(com.xforceplus.tenant.data.exception.ErrorCode errorCode,
Throwable cause)
errorCode - 代码cause - Throwablepublic ClientRuleException(String code, String message, Throwable cause, com.xforceplus.tenant.data.exception.Params params)
Note that the detail message associated with
cause is not automatically incorporated in
this runtime exception's detail message.
code - message - the detail message (which is saved for later retrieval
by the DataCoreException.getMessage() method).cause - the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)params - public ClientRuleException(com.xforceplus.tenant.data.exception.ErrorCode errorCode,
Throwable cause,
com.xforceplus.tenant.data.exception.Params params)
errorCode - 异常代码cause - 异常params - 参数public ClientRuleException(String code, Throwable cause)
code - cause - the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)public ClientRuleException(String code, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
code - message - the detail message.cause - the cause. (A null value is permitted,
and indicates that the cause is nonexistent or unknown.)enableSuppression - whether or not suppression is enabled
or disabledwritableStackTrace - whether or not the stack trace should
be writablepublic ClientRuleException(String code, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, com.xforceplus.tenant.data.exception.Params params)
code - message - the detail message.cause - the cause. (A null value is permitted,
and indicates that the cause is nonexistent or unknown.)enableSuppression - whether or not suppression is enabled
or disabledwritableStackTrace - whether or not the stack trace should
be writableparams - public ClientRuleException(com.xforceplus.tenant.data.exception.ErrorCode errorCode,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace,
com.xforceplus.tenant.data.exception.Params params)
errorCode - 消息代码cause - the cause.enableSuppression - whether or not suppression is enabledwritableStackTrace - whether or not the stack trace shouldparams - 消息参数Copyright © 2021. All rights reserved.