diff --git a/cloud-annotations/src/main/java/cloud/commandframework/annotations/AnnotationParser.java b/cloud-annotations/src/main/java/cloud/commandframework/annotations/AnnotationParser.java index 0af504e4..144621e2 100644 --- a/cloud-annotations/src/main/java/cloud/commandframework/annotations/AnnotationParser.java +++ b/cloud-annotations/src/main/java/cloud/commandframework/annotations/AnnotationParser.java @@ -542,7 +542,7 @@ public final class AnnotationParser { + "has parser '%s' but no parser exists " + "for that type", parameter.getName(), method.getName(), - token.toString() + token.getType().getTypeName() ))); } else { parser = this.manager.getParserRegistry() @@ -552,7 +552,7 @@ public final class AnnotationParser { + "has parser '%s' but no parser exists " + "for that type", parameter.getName(), method.getName(), - token.toString() + token.getType().getTypeName() ))); } /* Check whether or not the corresponding method parameter actually exists */