jodd-core/src/main/java/jodd/exception/UncheckedException.java
public static void runAndWrapException(final CallableVoid callable) {
		try {
			callable.call();
		}
		catch (IOException ioex) {
			throw new UncheckedIOException(ioex);
		}
		catch (RuntimeException rtex) {
			throw rtex;
		}
		catch (Exception t) {
			throw new UncheckedException(t);
		}
	}
public static void runAndWrapException(final CallableVoid callable) {
		try {
			callable.call();
		}
		catch (IOException ioex) {
			throw new UncheckedIOException(ioex);
		}
		catch (RuntimeException rtex) {
			throw rtex;
		}
		catch (Exception t) {
			throw new UncheckedException(t);
		}
	}
public static void runAndWrapException ( final CallableVoid callable ) { try { callable . call ( ) ; } catch ( IOException ioex ) { throw new UncheckedIOException ( ioex ) ; } catch ( RuntimeException rtex ) { throw rtex ; } catch ( Exception t ) { throw new UncheckedException ( t ) ; } }
Wraps checked exceptions in a <code>UncheckedException</code>.
Unchecked exceptions are not wrapped.
Wraps checked exceptions in a <code > UncheckedException< / code > . Unchecked exceptions are not wrapped .