Browsed by
Tag: ExceptionHandling

Java – Exception Handling

Java – Exception Handling

Stuff happens. The file isn’t there. The server or database is down. No matter how good a programmer you are, you can’t control everything. Things can go wrong, very wrong. When you write a risky method, you need to handle the bad things that might happens. But how do you know when a method is risky and when do you put the code to handle the exception situation?

Read More Read More