Module bus.core

Class TimeoutException

All Implemented Interfaces:
Serializable

public class TimeoutException extends UncheckedException
类型: 超时异常
Since:
Java 17+
Author:
Kimi Liu
See Also:
  • Constructor Details

    • TimeoutException

      public TimeoutException()
      构造
    • TimeoutException

      public TimeoutException(Throwable e)
      构造
      Parameters:
      e - 异常
    • TimeoutException

      public TimeoutException(String message)
      构造
      Parameters:
      message - 消息
    • TimeoutException

      public TimeoutException(String format, Object... args)
      构造
      Parameters:
      format - 消息模板
      args - 参数
    • TimeoutException

      public TimeoutException(String errcode, String errmsg)
      构造
      Parameters:
      errcode - 错误码
      errmsg - 消息
    • TimeoutException

      public TimeoutException(String errcode, Throwable throwable)
      构造
      Parameters:
      errcode - 错误码
      throwable - 异常
    • TimeoutException

      public TimeoutException(Throwable cause, String format, Object... args)
      构造
      Parameters:
      cause - 被包装的子异常
      format - 消息模板
      args - 参数
    • TimeoutException

      public TimeoutException(String errcode, String errmsg, Throwable throwable)
      Parameters:
      errcode - 错误码
      errmsg - 消息
      throwable - 异常
    • TimeoutException

      public TimeoutException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      构造
      Parameters:
      message - 消息
      cause - 被包装的子异常
      enableSuppression - 是否启用抑制
      writableStackTrace - 堆栈跟踪是否应该是可写的