类 ExceptionDepthComparator

    • 构造器详细资料

      • ExceptionDepthComparator

        public ExceptionDepthComparator​(Throwable exception)
        Create a new ExceptionDepthComparator for the given exception.
        参数:
        exception - the target exception to compare to when sorting by depth
      • ExceptionDepthComparator

        public ExceptionDepthComparator​(Class<? extends Throwable> exceptionType)
        Create a new ExceptionDepthComparator for the given exception type.
        参数:
        exceptionType - the target exception type to compare to when sorting by depth