程序包 gateway.api

类 NotExceptException

所有已实现的接口:
Serializable
直接已知子类:
NotFoundException

public class NotExceptException extends RuntimeException
非预期异常
作者:
neeker
另请参阅:
  • 字段详细资料

    • CLIENT_START_ERROR

      public static final int CLIENT_START_ERROR
      另请参阅:
    • serialVersionUID

      private static final long serialVersionUID
      另请参阅:
    • code

      private int code
    • timestamp

      public Date timestamp
    • exception

      public String exception
    • path

      public String path
  • 构造器详细资料

    • NotExceptException

      public NotExceptException()
    • NotExceptException

      public NotExceptException(Result result)
    • NotExceptException

      public NotExceptException(int code, String message)
    • NotExceptException

      public NotExceptException(int code, String message, Date timestamp, String exception, String path)
    • NotExceptException

      public NotExceptException(int code, String message, Throwable e)
  • 方法详细资料

    • getCode

      public int getCode()
      获得错误代码
      返回:
    • getTimestamp

      public Date getTimestamp()
      获得异常时间
      返回:
    • getErrorType

      public String getErrorType()
      获取错误类型
      返回:
    • getApiURI

      public String getApiURI()
      请求错误URI
      返回:
    • getMessage

      public String getMessage()
      覆盖:
      getMessage 在类中 Throwable