Example

public class TestClass extends Exception {
}


Solution
The default regular expression mask ensures that Exception names ends with the string "Exception".

To edit the regular expression, click on the [Details...] button.


public class TestException extends Exception {
}