exceptionutils

ExceptionUtils

Stable version 2.1.0 (Compatible with OutSystems 11)
Other versions available for 10 and Older
Published on 09 December 2018 by 
5.0
 (3 ratings)
exceptionutils

ExceptionUtils

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)
Related assets
More from João Rosado