add apache license
special handling for OnExceptionDefinition
additionalClasspathElements is optional