Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

What is the meanings of those many exceptions in "on exception goto" & "on exception clear" steps in the UCCX.??

What is the meanings of those many exceptions in "on exception goto" & "on exception clear" steps.??

I want to know the meanings of all exceptions.

2 REPLIES

What is the meanings of those many exceptions in "on exception g

Hi,

that's a good question. However, I am not aware of any document explaining all of the exceptions. I know and use some of them, though.

G.

Re: What is the meanings of those many exceptions in "on excepti

Some of them you will never hit. By my estimation there's really only 5 or so you should concern yourself with.

The number one exception you need to know is WFExecutionException. Is like fourth from the bottom of the list. This will catch any exception which would otherwise halt your script.

The WFEE can be used as a lazy way to catch any error. E.g., You're trying to catch a Document Not Found exception but your not sure which exception to pick from the list; while not specifically for DNFE, WFEE will catch it.

Lastly, Cisco's unofficial method is to "cause the exception" first, pull the MIVR logs, look for which exact exception was thrown, and then update your script to handle that exception.

Because of the way Java programming works, a single failure could bubble up the stack and produce more than one exception. I have a UCCX script which produces a list of exceptions thrown for any given exception. It requires Premium licensing due to the HTTP trigger and output. If there's interest, I'll post it.

EDIT: I posted it, and it does not require Premium.  Check it out:

https://supportforums.cisco.com/docs/DOC-26839

Sent from Cisco Technical Support iPhone App

Anthony Holloway

Please use the star ratings to help drive great content to the top of searches.
527
Views
0
Helpful
2
Replies
CreatePlease login to create content