jodd-core/src/main/java/jodd/exception/ExceptionUtil.java
public static RuntimeException wrapToRuntimeException(final Throwable throwable) {
		if (throwable instanceof RuntimeException) {
			return (RuntimeException) throwable;
		}
		return new RuntimeException(throwable);
	}
public static RuntimeException wrapToRuntimeException(final Throwable throwable) {
		if (throwable instanceof RuntimeException) {
			return (RuntimeException) throwable;
		}
		return new RuntimeException(throwable);
	}
public static RuntimeException wrapToRuntimeException ( final Throwable throwable ) { if ( throwable instanceof RuntimeException ) { return ( RuntimeException ) throwable ; } return new RuntimeException ( throwable ) ; }
Wraps exception to {@code RuntimeException}.
Wraps exception to {