Parent Exceptions and corresponding Child Exceptions

The list below describes all the parent exceptions and their corresponding child exceptions. Use it to find the parent of particular child exception thrown.

  • com.cisco.app.ApplicationException

    The ApplicationException class defines all exceptions that can be used to interrupt an application task. It is base class for the following exceptions and handles these exceptions if it is used in On Exception Goto Step.

Note

If both parent and child exceptions are handled in the On Exception Goto step, for example, if the child exception (com.cisco.prompt.PromptException) needs to be handled after the parent exception, the latest handler takes preference in the hierarchy to prevent the exception from being missed. This handling is contrary to normal Java exception hierarchy handling (that is, a base class exception must be handled last, after all child class exceptions).

  • com.cisco.app.ApplicationDisabledException

The ApplicationDisabledException class indicates that a task is requested for an application that is currently disabled.

  • com.cisco.app.ApplicationInterruptedException

The ApplicationInterruptedException class indicates that the task thread was interrupted using an InterruptedException.

  • com.cisco.app.ApplicationMaxSessionsException

The ApplicationMaxSessionsException class indicates that a task is requested for an application that has reached its configured maximum number of concurrent sessions.

  • com.cisco.app.ApplicationNotFoundException

The ApplicationNotFoundException class indicates that the configuration of an application is no longer defined.

  • com.cisco.app.ApplicationTargetException

The ApplicationTargetException class extends the ApplicationException. It is a checked exception which wraps an exception thrown by a task when that exception is not an instance of the ApplicationException.

  • com.cisco.app.ApplicationTaskInactiveException

The ApplicationTaskInactiveException class indicates that a task is either no longer active or has ended before the end of an operation.

  • com.cisco.app.ApplicationTimeoutException

The ApplicationTimeoutException class indicates that a task cannot be invoked in the maximum time requested.

  • com.cisco.app.impl.AppInterruptedException

AppInterruptedException is caused due to an interruptible action or step.

  • com.cisco.app.InvalidApplicationException

    The Invalid ApplicationException class indicates that the configuration of an application is no longer valid. This parent exception is thrown by the following child exception: com.cisco.app.ApplicationLicenseViolationException.

  • com.cisco.channel.ChannelExecutionException

    The Channel Execution Exception class indicates that the channel of a contact or task fails to execute the requested operation. This is the parent class for following exceptions:

  • com.cisco.channel.ChannelAbortedException

  • com.cisco.channel.ChannelInactiveException

  • com.cisco.channel.ChannelLicenseViolationException

  • com.cisco.channel.ChannelTimeoutException

  • com.cisco.channel.ChannelUnsupportedException

  • com.cisco.channel.DuplicateChannelException

  • com.cisco.channel.IllegalGroupStateException

  • com.cisco.contact.ContactInactiveException

  • com.cisco.contact.IllegalContactStateException

  • com.cisco.dialog.DialogASRException

  • com.cisco.wf.dialog.InvalidAudioFormatException

  • com.cisco.channel.MissingChannelException

    The Contact Inactive exception belongs to this group of exceptions. It is one of the most common exceptions that occurs in Unified CCX. This exception is thrown when a script attempts to execute a step that is dependent on an active contact, after the contact is terminated.

  • com.cisco.expression.ExpressionException

    The Expression objects throw the Expression Exception class when they are unable to parse or evaluate the expression.

    The following child exceptions throw this parent exception:

  • com.cisco.expression.ExpressionAuthorizationException

  • com.cisco.expression.ExpressionEvaluationException

  • com.cisco.expression.ExpressionLexicalException

  • com.cisco.expression.ExpressionLicenseViolationException

  • com.cisco.expression.ExpressionParsingException,com

  • cisco.expression.ExpressionRemoteException

  • com.cisco.expression.ExpressionSemanticException

  • com.cisco.grammar.GrammarException

    The Grammar objects throw Grammar Exception class when they are unable to resolve themselves. This class is a base class for the following exceptions:

  • com.cisco.grammar.CircularGrammarException

  • com.cisco.grammar.GrammarLexicalException

  • com.cisco.grammar.GrammarMatchingException

  • com.cisco.grammar.GrammarParsingException

  • com.cisco.grammar.GrammarSyntaxException

  • com.cisco.grammar.UndefinedGrammarException

  • com.cisco.grammar.UnknownGrammarException

  • com.cisco.grammar.UnresolvedRuleException

  • com.cisco.grammar.UnsupportedGrammarException

  • com.cisco.grammar.UnsupportedPartialMatchingException

  • com.cisco.wf.subsystems.ged125.ParameterGrammarException

  • com.cisco.prompt.PromptException

    The Playable or PromptQueue objects throw PromptException class when they are unable to append prompts to a prompt queue. This class is a base class for the following exeptions:

  • com.cisco.prompt.CircularPromptException

  • com.cisco.prompt.InvalidPromptArgumentException

  • com.cisco.prompt.PromptLexicalException

  • com.cisco.prompt.PromptParsingException

  • com.cisco.prompt.TTSDuplicateProviderException

  • com.cisco.prompt.TTSPromptProviderException

  • com.cisco.prompt.UndefinedPromptException

  • com.cisco.prompt.UndefinedPromptGeneratorException

  • com.cisco.prompt.UnknownPromptException

  • com.cisco.prompt.UnsupportedPromptException

  • com.cisco.prompt.UnsupportedTTSPromptException

  • com.cisco.wf.subsystems.ged125.UnsupportedMediaProtocolPromptException

  • com.cisco.wf.subsystems.ged125.UnsupportedMediaTypePromptException
  • com.cisco.script.ScriptException

    The ScriptException class is thrown when a script operations fails. This class is a base class exception for the following exceptions:

  • com.cisco.script.InvalidScriptException

  • com.cisco.script.ScriptIncompatibleTypeException

  • com.cisco.script.ScriptIOException

  • com.cisco.script.ScriptPreprocessException

  • com.cisco.script.ScriptNotFoundException

  • com.cisco.user.UserException

    The UserException class represents the base class of all exceptions that can be thrown by user operations.

  • com.cisco.doc.DocumentException

    DocumentException defines all exceptions that can be generated when you work with documents steps. It is the parent class for the following exceptions:

  • com.cisco.doc.DocumentIOException,

  • com.cisco.doc.DocumentNotFoundException

  • com.cisco.wf.steps.ivr.WFReportingStepException

    WFReportingStepException occurs if a selected reporting object does not exist while executing Get Reporting Statistic Step.

  • com.cisco.wf.subsystems.obj.WFInterruptedException

    WFInterruptedException indicates that an operation was interrupted.

  • com.cisco.wf.subsystems.obj.WFNoDayOfWeekFoundException

    WFNoDayOfWeekFoundException class exception is thrown if the engine could not find a range of days that contain the current day while executing DayOfWeekStep.

  • com.cisco.wfapi.expression.WFEvaluationException

    WFEvaluationException exception is thrown if a run-time error occurs while evaluating the expression.

  • com.cisco.wfapi.WFClassInvocationException

    WFClassInvocationException exception class is thrown if Class Invocation error occurs.

  • com.cisco.wfapi.WFClassRemoteCreationException

    WFClassRemoteCreationException exception class occurs during the execution of Create Remote Java Object step.

Note

Although the Create Remote Java Object step is no longer exposed in the Editor step palette, legacy scripts that were migrated to later releases may still include the step, so this exception can still be thrown.

  • com.cisco.wfapi.WFWorkflowCompletedExecutionException

    WFWorkflowCompletedExecutionException class indicates a normal exit. If an exception occurs in the middle of execution, the engine checks that the exception is an instance of WFWorkflowCompletedExecutionException and it ends the task.