logic exp && exception handler