| Author |
Exceptions
|
challa
Greenhorn
Joined: Mar 28, 2005
Posts: 23
|
|
A method can return an Exception Is it true? If so why ? Can anyone explain
|
 |
ankur rathi
Ranch Hand
Joined: Oct 11, 2004
Posts: 3829
|
|
Yes , It is true . Exception is ultimately an object so a method can return Exception also .
|
 |
Parameswaran Thangavel
Ranch Hand
Joined: Mar 01, 2005
Posts: 485
|
|
hi rathi is there is anyother thing that will throw the exception.TO my knowledge only method will throw the exception.
|
 |
ankur rathi
Ranch Hand
Joined: Oct 11, 2004
Posts: 3829
|
|
constructor also can throw exceptions ... [ April 09, 2005: Message edited by: rathi ji ]
|
 |
 |
|
|
subject: Exceptions
|
|
|