Not only can you catch and rethrow an exception, you can ignore it altogether by adding the exception class to your method's exception list. This way if an exception of a certain type occurs, it can be passed directly to the method that called you. Eventually someone will have to catch the exception and deal with it, but you can defer that to the calling method. If we were to skip printing the stack trace for the exception in the previous example and let the exception pass through to our caller, we can rewrite myOtherMethod() as follows:
public void myOtherMethod() throws MyException1 { myMethod(); }
Thus, if myMethod() throws a MyException1 exception, it is passed to the caller of myOtherMethod().