Bug 743248 - Usability: Messsage box should display message of an exception separately
Usability: Messsage box should display message of an exception separately
Status: NEW
Product: RHQ Project
Classification: Other
Component: Core UI (Show other bugs)
4.1
Unspecified Unspecified
medium Severity high (vote)
: ---
: ---
Assigned To: RHQ Project Maintainer
Mike Foley
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-04 07:12 EDT by Heiko W. Rupp
Modified: 2011-10-06 14:35 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Heiko W. Rupp 2011-10-04 07:12:01 EDT
When code like the DynaGroups editor is throwing an exception it throws something like:

   throw new DynaGroupIsWrongException("this group definition must not contain < chars")

The message center shows

java.lang.RuntimeException[12312]: org.rhq.entrprise.some.long....  (here the window size cuts the text

and then below the full stack trace, which is normally full of GWT and other crap.
The user has to scroll sideways to find why that exception happened "this group definition must not contain < chars"

We need to unwrap the exceptions to get the message and only display this on a line 
and then with some distance show the stack trace

Note You need to log in before you can comment on or make changes to this bug.