• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception Requirements - "zero argument constructor" ?

 
Sham Delaney
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Any unimplemented exceptions in this interface must all be created as member classes of the suncertify.db package. Each must have a zero argument constructor and a second constructor that takes a String that serves as the exception's description."

Does a "zero argument constructor" mean ?

a) public RecordNotFoundException(){
}
OR
b) public RecordNotFoundException(0){
}
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a) zero arguments == no arguments
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic