Do not return true value if the code throws exception.