void (StringTemplate.Processor<Integer, Ex> proc, StringTemplate.Processor<Integer, Ex2> proc2) { try { proc."hell\{<error descr="Unhandled exception: X.Ex2">proc2."xyz"</error>}o"; } catch (Ex ex) {} }