From b5a3c39f4f48dce054ae8473f7c4b5efd4be1e9d Mon Sep 17 00:00:00 2001 From: Redkale <22250530@qq.com> Date: Sat, 3 Jun 2017 09:51:53 +0800 Subject: [PATCH] --- src/org/redkale/net/http/Rest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/redkale/net/http/Rest.java b/src/org/redkale/net/http/Rest.java index c3306ec5c..8d317a6d8 100644 --- a/src/org/redkale/net/http/Rest.java +++ b/src/org/redkale/net/http/Rest.java @@ -823,7 +823,7 @@ public final class Rest { } else if (ptype == Flipper.class) { n = "flipper"; } else { - n = ("bean" + i); + throw new RuntimeException("Parameter " + param.getName() + " not found name by @RestParam in " + method); } } if (annhead == null && anncookie == null && annaddr == null && annbody == null && annfile == null