package com.framsticks.util.dispatching; import com.framsticks.util.ExceptionHandler; import com.framsticks.util.FramsticksException; public class ThrowExceptionHandler implements ExceptionHandler { private static final ThrowExceptionHandler instance = new ThrowExceptionHandler(); private ThrowExceptionHandler() { } @Override public final void handle(FramsticksException exception) { throw exception; } /** * @return the instance */ public static ThrowExceptionHandler getInstance() { return instance; } }