== Compliant Solution ---- public void foo(String bar) { throw new MyOwnRuntimeException("My Message"); } ----