类 UiaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.lnkdoc.sdk.uia.common.exception.UiaException
- 所有已实现的接口:
Serializable
- 从以下版本开始:
- 1.0.0.RELEASE
- 另请参阅:
-
构造器概要
构造器构造器说明UiaException(int code) Constructs a new runtime exception withnullas its detail message.UiaException(int code, String message) Constructs a new runtime exception with the specified detail message.UiaException(String message) Constructs a new runtime exception withnullas its detail message.UiaException(Throwable cause) Constructs a new runtime exception with the specified detail message and cause. -
方法概要
修饰符和类型方法说明intgetCode()gettergettervoidsetCode(int code) settervoidsetMessage(String message) setter
-
构造器详细资料
-
UiaException
Constructs a new runtime exception with the specified detail message and cause.Note that the detail message associated with
causeis not automatically incorporated in this runtime exception's detail message.by the
getMessage()method).- 参数:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)- 从以下版本开始:
- 1.4
-
UiaException
Constructs a new runtime exception withnullas its detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable).- 参数:
message- message
-
UiaException
public UiaException(int code) Constructs a new runtime exception withnullas its detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable).- 参数:
code- code
-
UiaException
Constructs a new runtime exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable).- 参数:
code- codemessage- the detail message. The detail message is saved for later retrieval by thegetMessage()method.
-
-
方法详细资料
-
getCode
public int getCode()getter- 返回:
- code
-
setCode
public void setCode(int code) setter- 参数:
code- code
-
getMessage
getter- 覆盖:
getMessage在类中Throwable- 返回:
- message
-
setMessage
setter- 参数:
message- message
-