ValidationException, need help
ValidationException, need help
- Subject: ValidationException, need help
- From: Amedeo Mantica <email@hidden>
- Date: Thu, 21 Apr 2005 11:10:55 +0200
as suuggested in some books or online, i create a method like this....
public String validateAttibbute(String Attribute) throws
NSValidation.ValidationException
{
if(Attribute....code for checking...)
{
//code if attribute is OK
}
else
{
String errorString = "Attribute is BAD";
throw new NSValidation.ValidatioException(errorString);
}
}
This method should be called automatically, but....is not called!..
also who passes the arguments to my method?
Thanks
Amedeo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden