类 UiaException

所有已实现的接口:
Serializable

public class UiaException extends RuntimeException implements Serializable
从以下版本开始:
1.0.0.RELEASE
另请参阅:
  • 构造器详细资料

    • UiaException

      public UiaException(Throwable cause)
      Constructs a new runtime exception with the specified detail message and cause.

      Note that the detail message associated with cause is not automatically incorporated in this runtime exception's detail message.

      by the 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.)
      从以下版本开始:
      1.4
    • UiaException

      public UiaException(String message)
      Constructs a new runtime exception with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).
      参数:
      message - message
    • UiaException

      public UiaException(int code)
      Constructs a new runtime exception with 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 - code
    • UiaException

      public UiaException(int code, String message)
      Constructs a new runtime exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).
      参数:
      code - code
      message - the detail message. The detail message is saved for later retrieval by the getMessage() method.
  • 方法详细资料

    • getCode

      public int getCode()
      getter
      返回:
      code
    • setCode

      public void setCode(int code)
      setter
      参数:
      code - code
    • getMessage

      public String getMessage()
      getter
      覆盖:
      getMessage 在类中 Throwable
      返回:
      message
    • setMessage

      public void setMessage(String message)
      setter
      参数:
      message - message