java: isac.util.tactics .. end renamed, formatted, inst_var_, import cleaned
2 * Created on Nov 18, 2003
7 * Exception thrown by the DialogGuide if the action requested by the user does
8 * not match the state of the DialogGuide, e.g. specifying during the solving
11 * @author Alan Krempler
13 public class DialogProtocolException extends Exception {
15 protected int failed_action_;
17 protected int dialog_state_;
19 DialogProtocolException(int failed_action, int dialog_state, String extra,
21 super("The DialogGuide cannot process a request.\n"
22 + "Requested action: " + String.valueOf(failed_action)
23 + ", Dialog state:" + String.valueOf(dialog_state) + ", "
25 failed_action_ = failed_action;
26 dialog_state_ = dialog_state;
29 DialogProtocolException(int failed_action, int dialog_state) {
30 this(failed_action, dialog_state, null, null);