Show an Exception with Stack trace

Information about development with ProjX.

Show an Exception with Stack trace

Postby Support@SIB » Mon Jun 16, 2014 4:50 pm

If you want to show an Exception as error dialog, simply call

Code: Select all
ExceptionHandler.show(new Exception("Expired"));

The command will show a simple Dialog with a text area that contains the error message, a Detail and an OK Button.

error.png
error.png (8.5 KiB) Viewed 3629 times


The Detail button will show the stack trace.

stack.png
stack.png (27.14 KiB) Viewed 3629 times
User avatar
Support@SIB
 
Posts: 200
Joined: Mon Sep 28, 2009 1:56 pm

Return to Documentation