From 7aa3dfc2a9b5e368d6e3895e2de38db39f4879ac Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Tue, 12 Jun 2012 10:54:43 +0000 Subject: [PATCH] fixed #83 --- hsarback/src/de/hsadmin/core/model/GenericModuleImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hsarback/src/de/hsadmin/core/model/GenericModuleImpl.java b/hsarback/src/de/hsadmin/core/model/GenericModuleImpl.java index a5a3333..309656a 100644 --- a/hsarback/src/de/hsadmin/core/model/GenericModuleImpl.java +++ b/hsarback/src/de/hsadmin/core/model/GenericModuleImpl.java @@ -100,7 +100,7 @@ public class GenericModuleImpl implements ModuleInterface { Object valueObject = method.invoke(anEntity); if (valueObject instanceof String) { if (!Pattern.matches(fieldValidation.value(), (String) valueObject)) { - throw new HSAdminException("validation of field " + f.getName() + " failed"); + throw new HSAdminException("validation of field " + f.getName() + " failed, pattern: " + fieldValidation.value()); } } } catch (Exception e) {