Fix :: Declare handleException function as static