private void CheckWizardStep() { if (GetCurrentStep() == null) { throw new WizardStepException("There is no current wizard step"); } }