• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ValidationException, need help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: ValidationException, need help
      • From: "Jerry W. Walker" <email@hidden>
  • Prev by Date: WODisplayGroup - how to insert default values?
  • Next by Date: Re: Tiger?
  • Previous by thread: Re: WODisplayGroup - how to insert default values?
  • Next by thread: Re: ValidationException, need help
  • Index(es):
    • Date
    • Thread