Commit e1d376d0 authored by Justin Blank's avatar Justin Blank
Browse files

Add descriptor to exception in Type#getTypeInternal

Add the incorrect descriptor to the exception for ease of debugging
parent 04f3f8b7
......@@ -440,7 +440,7 @@ public final class Type {
case '(':
return new Type(METHOD, descriptorBuffer, descriptorBegin, descriptorEnd);
throw new IllegalArgumentException();
throw new IllegalArgumentException("Invalid descriptor: " + descriptorBuffer);
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