add custom vim function to generate code for Exception class in C++