ExceptionUtils

Stable Version 2.1.0 (O11)
Also available for 10, 9
Published on 09 December 2018 by 
Created on 09 September 2015
Details
Utilities to get details about Exceptions after being catched by an Exception Handler node.
Read More

Ever wanted to know more about an Exception apart from what it says in the ErrorHandler.ExceptionMessage? Stack? Exceptions? What about the XML Details of a Custom SOAP Exception?

Now it is all possible with the ExceptionUtils! Just use it after an Exception Handler and see all you need.


Available actions:

  • GetLastException
  • GetLastExceptionDetails
  • GetLastSoapException



Notice: This component takes advantage of private and undocumented Platform APIs, which can change without notice. As a result, this component may unexpectedly break as the Platform is upgraded. We advise proper testing to ensure that your applications continue to work as expected when upgrading/patching the Platform.

What’s new (2.1.0)

Direct upgrade from version 2.0.0 to O11.

Keeping change notes since both 010 and 011 are being published at the same time.


Features:

  • Added new action GetLastExceptionDetails that returns a list with the Exception and its Inner Exceptions.
    • It's possible to control the maximum number of Inner Exceptions returned.
  • Added new a AsText output on the GetLastException method. Returns a text with a complete representation of the Exception and its Inner Exceptions, similar to what you would find in an Error Log.


Changes:

  • Renamed existing actions to simplify the names. Old actions no longer suffixed with "Details".
  • Updated all the descriptions
  • Protected a the code to be save against any potential errors. Methods should always return empty if it was not possible to get the last exceptions information.

Reviews (0)
Category
Libraries
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from João Rosado who created this component.
Dependencies
ExceptionUtils has no dependencies.
Requirements
Platform
11.0.0.200
Database
All
Stack
All
Component Consumers
No consumers yet.
Weekly Downloads