Commit 7b1babf8 authored by Palmer Dabbelt's avatar Palmer Dabbelt
Browse files

Handle IllegalArgumentExcetions that mean a cloneType is needed

When trying to cloneType() on classes that take a builtin (like Int),
we get an IllegalArgumentException instead of a InvocationTargetException.
This change prints a nice error message instead of a stack trace.
parent f83c25a4
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment