change exception expected method