W3C home > Mailing lists > Public > xproc-dev@w3.org > June 2009

What should happen when you don't try/catch an exception...

From: Philip Fennell <Philip.Fennell@bbc.co.uk>
Date: Tue, 23 Jun 2009 14:38:34 +0100
Message-ID: <F3685F4A877F284F8054E328390447D14C6EB2@bbcxues17.national.core.bbc.co.uk>
To: "XProc Dev" <xproc-dev@w3.org>
Using Calabash 0.9.10, if I caused a p:error to occur without attempting
to catch it, then the pipeline would fail with the appropriate error
message e.g.


Error  : Pipeline failed: err:wadl:envRequirementFailed:
The option value provided does not match one of
('sandbox'|'int'|'test'|'stage'|'live').
Unknown error


Now using Calabash 0.9.11 I get the following message:


Error  : Pipeline failed: com.xmlcalabash.core.XProcException: No
outputs allowed.


I guess I should be able to allow the exception to bubble-up to the top
if I so wish. Has this new behaviour been introduced as a result of
adding an output port on p:error?




Regards

Philip Fennell

>XML Developer (The Forge)
>
>BBC Future Media & Technology
>Media Village, 201 Wood Lane London W12 7TP
>BC4 C4, Broadcast Centre
>
>T:	0208 0085318

http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					
Received on Tuesday, 23 June 2009 13:39:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 June 2009 13:39:07 GMT