exceptions
Please support our Java advertiser: Programming Forums
![]() |
public void foo() throws Exception {
//something happens and an exception is being thrown
}public void hoo() {
try {
foo();
} catch (Exception e) {
}
} There are 3 ways to do things:
The right way, the wrong way,
And The Object Oriented Way.
When you do things your way, make sure you don't forget the Object Oriented Way
The right way, the wrong way,
And The Object Oriented Way.
When you do things your way, make sure you don't forget the Object Oriented Way
![]() |
Similar Threads
Other Threads in the Java Forum
- exceptions (Java)
- C++ / Exceptions (C++)
- Exceptions (repost) (C++)
- Exceptions (C++)
- weird exceptions:( (Python)
- How to handle exceptions in constructor? (Java)
- Exceptions (Java)
- Arithmetic Exceptions and exception-handling statements (Java)
Other Threads in the Java Forum
- Previous Thread: triangle, rectangle and TwoDShape
- Next Thread: How to call a class that draws a circle in a MouseMoved method ??
•
•
•
•
Views: 474 | Replies: 4 | Currently Viewing: 1 (0 members and 1 guests)






Linear Mode