Community ForumCategory: Adobe PDF LibraryException handling
Neph asked 2 weeks ago

I’m having trouble understanding exceptions with the adobe pdf library.
Every time i get an exception, I get the ErrorCode that I convert to text using the ASGetErrorString method.
But most of the time, I get an exception when calling an API method and the error string is just: “Expected a name/number object”. Is there a way to know on which specific object the API method failed? Because with this kind of exception, i have to investigate every object in the pdf and figure out which one is causing issues.
Or is there a better way to investigate these kind of issues?
Thanks in advance