Add customized exceptions.