Class UncheckedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.miaixz.bus.core.lang.exception.UncheckedException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AlreadyExistsException, AuthorizedException, BusinessException, ConvertException, CrontabException, CryptoException, DisableException, ForbiddenException, IllegalPathException, InternalException, InvalidParamsException, MapperException, NoSuchException, NotExistsException, NotFoundException, NotInitedException, PageException, PaymentException, SignatureException, SocketException, StatefulException, TokenException, ValidateException, VersionException

public class UncheckedException extends RuntimeException
类型: 未受检异常
See Also:
  • Field Details

    • errcode

      protected String errcode
      错误码
    • errmsg

      protected String errmsg
      错误信息
  • Constructor Details

    • UncheckedException

      protected UncheckedException()
      构造
    • UncheckedException

      protected UncheckedException(String message)
      构造 将抛出对象包裹成运行时异常,并增加自己的描述
      Parameters:
      message - 打印信息
    • UncheckedException

      protected UncheckedException(Throwable cause)
      构造 将抛出对象包裹成运行时异常,并增加自己的描述
      Parameters:
      cause - 抛出对象
    • UncheckedException

      protected UncheckedException(String message, Throwable cause)
      构造 将抛出对象包裹成运行时异常,并增加自己的描述
      Parameters:
      message - 打印信息
      cause - 抛出对象
    • UncheckedException

      protected UncheckedException(String errcode, String errmsg)
      构造 将抛出对象包裹成运行时异常,并增加自己的描述
      Parameters:
      errcode - 错误编码
      errmsg - 错误提示
    • UncheckedException

      protected UncheckedException(String format, Object... args)
      构造 根据格式化字符串,生成运行时异常
      Parameters:
      format - 格式
      args - 参数
    • UncheckedException

      protected UncheckedException(Throwable cause, String format, Object... args)
      构造 将抛出对象包裹成运行时异常,并增加自己的描述
      Parameters:
      cause - 抛出对象
      format - 格式
      args - 参数
    • UncheckedException

      protected UncheckedException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      构造 运行时异常,其中包含指定的详细信息消息,原因,启用或禁用抑制,可写堆栈跟踪启用或禁用
      Parameters:
      message - 详细信息
      cause - 原因,(允许使用null值,表示原因不存在或未知)
      enableSuppression - 是否启用抑制whether or not suppression is enabled or disabled
      writableStackTrace - 堆栈跟踪是否应该可写