Simplified definition of throw expection assertion