public static void throwException(final Exception e) {
        throw new ResourceNotFoundException("the validation ExistProviderMethod invoked error", e);
    }
throw ResourceNotFoundException with default message.

@param e exception
shenyu-admin/src/main/java/org/apache/shenyu/admin/utils/Assert.java