cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
387
Views
0
Helpful
2
Replies

IPCC Exception XML File

Mike-1985
Level 1
Level 1

Hi all.

I have the following two IPCC scripts:

- openclosed:

* Start

* Accept

* Call Subflow(processxml)

* some logic

* terminate

* end

- processxml:

* start

* accept

* logic; read and process xml file

* end

This all works fine. But now I want to build in some security, what if the xml file can not be found, contains errors or anything like that.

I saw the option "On Exception GoTo". But wich exception do I have to choose? I would like to have something like

try

{

// all logic etc

}

catch()

{

// set some default values

}

So just one main OnException GoTo, which catches all the possible exceptions.

Anyone who can help me on this?

Thanks in advance!

Michiel

1 Accepted Solution

Accepted Solutions

BCOLE2007
Level 1
Level 1

Hi Michael,

try this

"com.cisco.doc.DocumentException"

Blair

*please rate this post

View solution in original post

2 Replies 2

BCOLE2007
Level 1
Level 1

Hi Michael,

try this

"com.cisco.doc.DocumentException"

Blair

*please rate this post

That did the job!

Thanks :)

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: