Persistence API error handling

Posted by Douglass Whitehead on
URL: https://discuss.orbeon.com/Persistence-API-error-handling-tp44435.html

I'm relatively new to this, so I apologize if this comes off as a noob  
Q.....

I'm using the Persistence API to read and write XML (for initial form  
load and save/submit).

In my code, if I detect an error, how do I gracefully tell Orbeon  
about it?
Is there some sort of XML structure that I should pass back to  
indicate an Error, so that Orbeon can pass the information along to  
the user?

Of course I can and will dump information into a log file, but I'd  
like to do the right thing.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws