• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

finderXXX exceptrion question

 
Bin Lu
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
If findbyXXXX the return type is java.util.Collection,
Do it need throw FinderException?
Is this true
finder methods in local home interface, they must declare javax.ejb.FinderException??
 
Vishwa Kumba
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For both local and remote exceptions, finderException needs to be thrown.
It is an application exception.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic