Bug 104067 - provide more informative exception msg in QGen
provide more informative exception msg in QGen
Product: Red Hat Web Application Framework
Classification: Retired
Component: persistence (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Archit Shah
Jon Orris
Depends On:
Blocks: 99160
  Show dependency treegraph
Reported: 2003-09-09 12:21 EDT by Vadim Nasardinov
Modified: 2007-04-18 12:57 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-09-09 17:14:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Vadim Nasardinov 2003-09-09 12:21:21 EDT
Something along lines of p4 changelist 35761 would be
more helpful than the current exception message.  Without
this change, the exception message simply says
"unknown value in expression:  sortKey" (or something like

With the change applied, the message is

Root cause: 
com.redhat.persistence.engine.rdbms.QGen$5: unknown value in expression: sortKey
query signature: com.arsdigita.categorization.Category(id, objectType,
displayName, defaultDomainClass, description, name, url, isEnabled, isAbstract,
	at com.redhat.persistence.engine.rdbms.QGen$4.map(QGen.java:652)
	at com.redhat.persistence.common.SQLParser.identifier(SQLParser.java:770)

The enumeration of valid values helps pinpoint the error
much more quickly.
Comment 1 Archit Shah 2003-09-09 14:17:46 EDT
merged to trunk. not applicable to 6.0 branch.

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