04-20-2012 12:45 AM - edited 03-15-2019 05:47 AM
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.
04-20-2012 01:18 AM
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.
04-20-2012 06:38 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide