Add exception handling to special calc.