Exceptions and Style
- You should not rely on exception handling as a replacement for well-written code.
- For instance, make sure your code does not access an array passed the last subscript - do not catch an ArrayIndexOutofBounds exception.
- If you use a method that throws an exception, you should handle the ones that may affect your code.
- In general, you should not just ignore them or pass them on to the method that called your method.