• Post Reply Bookmark Topic Watch Topic
  • New Topic

can error be handeled  RSS feed

 
bikasit babu
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1.What error is actually .how all error are unchecked

2.like exception can we handle error.
if so how can we handle error.

 
Paul Clapham
Sheriff
Posts: 22819
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Those are rather general questions. However I believe that somewhere in the Oracle tutorial about exceptions: Lesson: Exceptions you will find the information you're looking for. There's a lot to read there but it covers the topic quite thoroughly. I highly recommend you spend some time going through it.
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
bikasit babu wrote:if so how can we handle error.

Basically, you're not supposed to.

However, you can catch or throw an error (eg, IOError), just like you can any other Throwable.

Winston
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!