docs: public Throwable getException(String exceptionClassName) throws ExceptionInstantiationException {
          if (exceptionClassName == null) {
              return null;
          }
  
          Throwable ex = null;
          if (previousExceptionInfo != null) {
              if (previousExceptionInfo.getClassName().equals(exceptionClassName)) {
                  ex = getPreviousException();
              } else {
                  ex = previousExceptionInfo.getException(exceptionClassName);
              }
          }
          return ex;
      }