Monday, 10 September 2007

 
Every time I change job I always tend to spend too much time remembering how to search for "pre-1.4 style" custom exceptions that try to store their root causes in a field. So here is the IDEA custom template for that:

class $Class$ extends $Parent$ {
$Throwable$ $varName$;
}

Variables $Parent$ and $Throwable$ should be constrained with "text/regular expression" set to "Throwable" and "apply within type hierarchy" checkbox checked.

Labels: , , ,


Comments: Post a Comment





<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom], Comments [Atom]