Adding script to generate Java exceptions extending from base Exception class.