IPCC Exception XML File

Answered Question
Aug 24th, 2008
User Badges:

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

Correct Answer by BCOLE2007 about 8 years 9 months ago

Hi Michael,


try this


"com.cisco.doc.DocumentException"



Blair

*please rate this post

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
BCOLE2007 Mon, 08/25/2008 - 08:34
User Badges:
  • Bronze, 100 points or more

Hi Michael,


try this


"com.cisco.doc.DocumentException"



Blair

*please rate this post

Actions

This Discussion