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?
↧