} catch (ValidateException e) {
setError(true);
setCurrentError(e.findMessage());
} catch (Throwable e) {
setError(true);
throw new FormException(getTarget(), this, "set"
+ getNameAsMethodSuffix(),e);
}
}
try {
getTarget().getClass().getMethod("set" + getNameAsMethodSuffix(),
new Class[] { getFormValueClass() }).invoke(getTarget(),
new Object[] { getFormValue() });
setChanged(false);
setError(false);
} catch (InvocationTargetException e) {
Throwable f = e.getCause();
if (f != null && (f instanceof ValidateException)) {
setError(true);
setCurrentError(((ValidateException)f).findMessage());
} else {
setError(true);
throw new FormException(getTarget(), this, "set"
+ getNameAsMethodSuffix(),e);
}
} catch (Throwable e) {
setError(true);
throw new FormException(getTarget(), this, "set"
+ getNameAsMethodSuffix(),e);
}
}