Exception Handling for former obspy versions