summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorPalmer Dabbelt2015-10-08 15:44:18 -0700
committerPalmer Dabbelt2015-10-08 15:44:36 -0700
commit7b1babf87ef9eef968a0d9efedc389886aafbf70 (patch)
tree8f283332d2e9cb563feb6eb9783bdc3a41ed5cc0 /src/test
parentf83c25a43c1f10eaa8b5d99a35209091110dc5dd (diff)
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.
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions