GWT exception handler: any exception thrown on the client (or server) must result in a
dialog for the user. Depending on the exception class the message and blame (user vs
programmer) differs
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBRULES-2743
URL:
https://jira.jboss.org/browse/JBRULES-2743
Project: Drools
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: drools-guvnor
Affects Versions: 5.1.1.FINAL
Reporter: Geoffrey De Smet
Assignee: Geoffrey De Smet
Priority: Critical
Fix For: 5.2.0.M1
<Rikkola> you can use ErrorPopup for them
<ge0ffrey> in spring-rcp I wrote a whole exception handling system
<ge0ffrey> basically you can configure it to handle exceptions differently than
other exceptions
<ge0ffrey> NPE, IllegalArgument, ... => Programmers fault, big red error button
with a "report error" button
<ge0ffrey> AuthorizationException,AuthenticationException, hibernate-validator
InvalidStateException => users fault, yellow triangle
<ge0ffrey> and the ability to provide exception type specific messages
<Rikkola> sounds good
<ge0ffrey> NotUniqueException => dear user, you're record is not unique,
please pick another value
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira