• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

@ApplicationException on RemoteException

 
Chris Johnson
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can a subclass of RemoteException be turned into an application exception using the @javax.ejb.ApplicationException annotation?
 
satish kolli
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An application exception may be a subclass (direct or indirect) of java.lang.Exception (i.e., a �checked exception�), or an application exception class may be defined as a subclass of the java.lang.RuntimeException (an �unchecked exception�). An application exception may not be a subclass of the java.rmi.RemoteException. The java.rmi.RemoteException and its subclasses are reserved for system exceptions.

Thanks,
Satish Kolli
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic