Hi sureshMGR,
Views should not contain any real logic, anything that might throw an exception belongs in the controller.
Still if you want you can use try catch in a script block in the view.
@try
{
// Razor view code here
}
catch (Exception ex)
{
@Html.Action("Admin", "Index", "AdminProfile");
}