Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Java only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Java
why do we really need to "throw " exceptions in java programing??
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
umangbansal
New Member
Join Date:
Jul 2010
Posts:
8
#1
why do we really need to "throw " exceptions in java programing??
Jul 28 '10, 03:22 PM
what is the need of throwing exceptions in java??
Dheeraj Joshi
Recognized Expert
Top Contributor
Join Date:
Jul 2009
Posts:
1129
#2
Jul 29 '10, 03:56 AM
If you don't want to handle the error conditions you can simply throw the exception.
Regards
Dheeraj Joshi
Comment
Post
Cancel
ahmee
New Member
Join Date:
Mar 2010
Posts:
39
#3
Jul 29 '10, 05:18 PM
anz...
throw exception is used to specfic and catch errors in program and throw
(to show it)
it to programer.
try and catch
statement is used for throwing exceptions.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment