Skip to content

Instantly share code, notes, and snippets.

@britt
Created July 24, 2008 21:06
Show Gist options
  • Save britt/2299 to your computer and use it in GitHub Desktop.
Save britt/2299 to your computer and use it in GitHub Desktop.
public BookInfoJaxBImpl(BookInfo bookInfo) {
if(bookInfo==null)
throw new IllegalArgumentException("BookInfo passed into the constructor cannot be null.");
else
load(bookInfo);
}
private void load(BookInfo bookInfo) {
//load the values of BookInfo into this instance
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment