Craig McClanahan wrote:
On 8/28/06, Paul Spencer <[EMAIL PROTECTED]> wrote:
<snip>
o Is exception management needed in the dialog state management?
Seems like it should be. What do you think *should* happen with respect to
exceptions here?
Treat an exception like a transition. Thus allowing then next state to be
a view, action, subdialog or end. A dialog default also can be configured.
<dialog name="EnterCustomer"
start="enterCustomer"
defaultException="displayException" ...>
<transition exception="SqlException" target="pleaseCallTheDBA"/>
<view name="enterCustomer"...>
<tranistion outcome="success" target="saveCustomer"/>
</view>
<action name="saveCustomer">
<transition exception="CustomerAlreadyExists" target="editCustomer"/>
<transition outcome="success" target="done"/>
</action>
<view name="editCustomer".../>
<end name="done".../>
<end name="pleaseCallTheDBA".../>
<end name="displayException".../>
</dialog>
Paul Spencer
Craig
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date: 8/25/2006