Announcement Announcement Module
Collapse
No announcement yet.
AbstractWizardFormController and getInitialPage Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • AbstractWizardFormController and getInitialPage

    Hi

    I am a little confused as to how I am supposed to handle errors in the getInitialPage method of the AbstractWizardFormController. The wizard controller that I am writing performs logic to determine which page to go to first and that logic can throw exceptions. Why is it that the method signature of getInitialPage does not throw Exception ? This seems a little strange as the showForm method that calls getInitialPage does throw Exception.

    Any help would be greatly appreciated here as I would like to handle exceptions the same way no matter what controller I am writing and not put specific handling of exceptions in my wizard controllers

    Many thanks
    Lee
Working...
X