Test with Error instead of RuntimeException

… test the Throwable catch instead of Exception.