This is a discussion on "JAVA Exception" within the Other Programming Languages section. This forum, and the thread "JAVA Exception are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
JAVA Exception
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
JAVA Exception
What is difference between throw and throws?
May you give me an example about that?May you explain about override exception? |
|
|
|
#2
|
|||
|
|||
|
Re: JAVA Exception
The throw keyword is used to actually throw an exception while the throws keyword just tells the compiler which exceptions may be thrown by a method.
|
|
#3
|
|||
|
|||
|
Re: JAVA Exception
Hello! Thanks! But I mean an example for throw,and another for throws,Thanks in advance! May someone give me a list of difference between checked and unchecked exceptions?why they called "checked" or "unchecked" |
|
#4
|
|||
|
|||
|
Re: JAVA Exception
Hi!
http://java.ztor.com/fundamental/main/ Handling Exceptions You can handle exception otherwise you must declare it. Also you can handle some exceptions and declare others. Handle Exceptions
Declare Exceptions
Quote:
May show this by an example? Thanks in advance Last edited by karinne; Sep 10th, 2007 at 13:15. Reason: Please use [ code ]...[ /code ] tags when displaying code. |
![]() |
| Tags |
| exception |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to make an exception to an “if ….” | vandiermen | PHP Forum | 2 | Sep 10th, 2007 12:59 |
| tried java now c++ | alexgeek | Other Programming Languages | 49 | Sep 7th, 2007 06:15 |
| Java/GUI/Server Developer (Java, EJB/Hibernate, SWING) - Berkshire | Web JobBot | Job Opportunities | 0 | Jan 16th, 2007 09:30 |
| PHP vs Java | Lue | PHP Forum | 0 | Sep 13th, 2006 19:00 |
| Java JDK 1.4.2 | gecastill | Other Programming Languages | 5 | Aug 4th, 2005 12:38 |