The live template for catch statement body (and potentially other templates as well) needs a variable type for exceptionClassThrowableHere(). Very often, what one wants to do inside of a catch body is to wrap an exception inside one that is acceptable to be thrown in the current context – which would be selected from a menu containing the union of all exception classes the method can throw and all exception classes already caught by try/catch blocks within which the current block is lexically nested.
This way, you could have the catch statement body template look something like this:
throw new ${THROWABLE_EXCEPTION_CLASS}(${EXCEPTION});
resulting in code like:
try {
doSomethingInAnotherDomain();
} catch (OtherDomainException e) {
throw MyDomainException(e);
}
[Not sure whether I've logged this to the correct component; there is no File Templates or Live Templates component in the issue tracker.]