Throw RequirementsException for better error message.