mc redefining error handled and threw