Hi sureshMGR,
Check this example. Now please take its reference and correct your code.
Controller
public class HomeController : Controller
{
    // GET: Home
    public ActionResult Index()
    {
        try
        {
            int i = int.Parse("Test");
        }
        catch (Exception ex)
        {
            string actionName = this.ControllerContext.RouteData.Values["action"].ToString();
            string controllerName = this.ControllerContext.RouteData.Values["controller"].ToString();
        }
        return View();
    }
}
View
@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
</head>
<body>
</body>
</html>
Screenshot
