Expand my Community achievements bar.

Exception handling in Workbench

Avatar

Level 1

I'm currently developing a process where I would like to catch an exception and determine what the error was and then return an errormessage to the user. I've figured out how to catch the exception, but I don't know how to get the error. If I catch the exception from ReaderExtensions 'Apply usage rights' service I would like to know what the error was (this could be missing certificate, not sufficient rights or missing input pdf). Is there any way to get the error thrown by an exception?

1 Reply

Avatar

Former Community Member

http://forums.adobe.com/thread/1093849?tstart=0

Would love to know your solution to this if you found anything.

Usually one has to make do with the exception types specified in the Exception drop down when dragging a line from the "lightening bolt".

And then off to the server log