redirection exception handling