All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.gluebooster.java.booster.basic.events.RuntimeExceptionThrowingThrowableHandler Maven / Gradle / Ivy

package net.sf.gluebooster.java.booster.basic.events;

import net.sf.gluebooster.java.booster.essentials.utils.ThrowableBoostUtils;

/**
 * Changes the throwables into runtime exceptions and throws them again.
 * @author CBauer
 *
 */
public class RuntimeExceptionThrowingThrowableHandler implements ThrowableHandler{

	@Override
	public void handleThrowable(Throwable throwable) throws RuntimeException {
		throw ThrowableBoostUtils.toRuntimeException(throwable);
	}
	
	

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy