Linked by Thom Holwerda on Mon 19th Nov 2007 21:16 UTC, submitted by Wyatt Lyon Preul
Permalink for comment 285795
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.
News
Linked by Thom Holwerda on 05/19/13 23:15 UTC
Linked by Thom Holwerda on 05/19/13 23:11 UTC, submitted by Drumhellar
Linked by Thom Holwerda on 05/18/13 21:06 UTC
Linked by Thom Holwerda on 05/18/13 7:37 UTC
Linked by fran on 05/18/13 1:38 UTC
Linked by Thom Holwerda on 05/17/13 23:35 UTC, submitted by kragil
Linked by MOS6510 on 05/17/13 22:22 UTC
Linked by Thom Holwerda on 05/17/13 22:15 UTC, submitted by Tom
Linked by Thom Holwerda on 05/16/13 21:41 UTC
Linked by Thom Holwerda on 05/16/13 17:04 UTC
More News »
Sponsored Links



Member since:
2005-11-16
> Java getters and setters are silly.
You don't know what you're talking about.
public void setLastName( string lastname )
{
if ( lastname.length() > 30 )
{
throw new IllegalArgumentException
( "lastname exceeds database col length." );
}
}
Or, would you rather send bad data to the database and throw a SQLException?