Application throw exception on wrong