Removed “throws” declaration from ternaryOperation(…) and returnOperation(…)