Bug 743248

Summary: Usability: Messsage box should display message of an exception separately
Product: [Other] RHQ Project Reporter: Heiko W. Rupp <hrupp>
Component: Core UIAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 4.1CC: hrupp
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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: --- Target Upstream Version:
Embargoed:

Description Heiko W. Rupp 2011-10-04 11:12:01 UTC
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