Any exception deriving from RuntimException is unchecked. And exceptions which are derived from Exception class are checked ones. Most likely you will defined your application exception from Exception class. hence they will be checked exceptions.
If you are asking from the ejb perspective , than not all exception defined there are runtime exceptions. Same rule follows. If any of the exception below are deriving from RuntimeException, then they are unchecked exception. Please browse through the api documentation for these classes AccessLocalException CreateException DuplicateKeyException EJBException FinderException NoSuchEntityException NoSuchObjectLocalException ObjectNotFoundException RemoveException TransactionRequiredLocalException TransactionRolledbackLocalException But if your question was general, then yes please read some good java book. /Ashwani >-----Original Message----- >From: Kumar.K.R [mailto:[EMAIL PROTECTED] >Sent: Friday, November 28, 2003 1:16 PM >To: [EMAIL PROTECTED] >Subject: Checked and Unchecked Exception > > >What are the differences between checked exceptions and un-checked >exceptions. Is it that All application exceptions are checked >exceptions >and all system exceptions are unchecked exceptions. > > >Thanx and Regards, > >KRKumar > >=============================================================== >============ >To unsubscribe, send email to [EMAIL PROTECTED] and >include in the body >of the message "signoff EJB-INTEREST". For general help, send email to >[EMAIL PROTECTED] and include in the body of the message "help". > ____________________________________________________ This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorised to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
