### Question:
ExceptionUtils { public static void throwSLEOnException(String tag, String message, RunnableWithException runnable) throws ScriptLoadException { try { runnable.run(); } catch (Exception e) { Log.e(tag, message, e); throw new ScriptLoadException(message, e); } } protected  ExceptionUtils(); static void logException(String tag, String message, RunnableWithException runnable); static void throwSLEOnException(String tag, String message, RunnableWithException runnable);  }### Answer:
@Test public void testThrowScriptLoadException () throws ScriptLoadException { ExceptionUtils.throwSLEOnException("test", "test message", () -> { }); }
@Test (expected = ScriptLoadException.class) public void testThrowScriptLoadException1 () throws ScriptLoadException { ExceptionUtils.throwSLEOnException("test", "test message", () -> { throw new Exception("test"); }); }