Skip to content

Commit

Permalink
AVRO-1901 - fix issue by catching java.lang.Exception (fully qualified)
Browse files Browse the repository at this point in the history
  • Loading branch information
radai-rosenblatt committed Aug 23, 2016
1 parent 0387897 commit 26e81a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ public class ${this.mangle($schema.getName())}#if ($schema.isError()) extends or
#end
#end
return record;
} catch (Exception e) {
} catch (java.lang.Exception e) {
throw new org.apache.avro.AvroRuntimeException(e);
}
}
Expand Down

0 comments on commit 26e81a2

Please sign in to comment.