Class InternalException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BeanException, CloneException, DateException, DependencyException, StatefulException

public class InternalException extends UncheckedException
类型: 内部处理异常
Since:
Java 17+
Author:
Kimi Liu
See Also:
  • Constructor Details

    • InternalException

      public InternalException()
    • InternalException

      public InternalException(Throwable cause)
    • InternalException

      public InternalException(String format, Object... args)
    • InternalException

      public InternalException(String message)
    • InternalException

      public InternalException(String message, Throwable cause)
    • InternalException

      public InternalException(String errcode, String errmsg)
    • InternalException

      public InternalException(Throwable cause, String format, Object... args)
  • Method Details

    • causeInstanceOf

      public boolean causeInstanceOf(Class<? extends Throwable> clazz)
      导致这个异常的异常是否是指定类型的异常
      Parameters:
      clazz - 异常类
      Returns:
      是否为指定类型异常