This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

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



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


The Detail button will show the stack trace.

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

Return to Documentation