Page 1 of 1

--Show an Exception with Stack trace

PostPosted: Mon Jun 16, 2014 4:50 pm
by Support@SIB


This article is outdated - please use our new system at

https://doc.sibvisions.com




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 4486 times


The Detail button will show the stack trace.

stack.png
stack.png (27.14 KiB) Viewed 4486 times