result.setVarArgs(constructor.isVarArgs());
Type[] exceptionTypes;
try {
exceptionTypes = constructor.getGenericExceptionTypes();
} catch(GenericSignatureFormatError error) {
<BUG>log.warn("Invalid class file for: " + constructor.getDeclaringClass().getCanonicalName(), error);
exceptionTypes = constructor.getExceptionTypes();</BUG>
}
for (Type exceptionType : exceptionTypes) {
result.getExceptions().add(createTypeReference(exceptionType));

result.setVarArgs(constructor.isVarArgs());
Type[] exceptionTypes;
try {
exceptionTypes = constructor.getGenericExceptionTypes();
} catch(GenericSignatureFormatError error) {
logSignatureFormatError(constructor.getDeclaringClass());
exceptionTypes = constructor.getExceptionTypes();
}
for (Type exceptionType : exceptionTypes) {
result.getExceptions().add(createTypeReference(exceptionType));
