Throw exception when illegal play