Jump to content
We've recently updated our Privacy Statement, available here ×

[feature request] more clear exception message


mtassinari

Recommended Posts

Hi everybody

I'm opening this thread to make a "feature request" if possible: I always find hard to understand my reports' problems when there is an exception thrown at compile time, especially when it comes to SQL errors.

The usual message I get is "error executing statement for ***", and that alone isn't much help in identifying the cause of the problem. Wouldn't it be possible, in this specific case, to add the full SQL error message, and more in general to have more self-explaining excepion messages?

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

The SQLException is nested inside the JRException as a cause.  If you print the full stacktrace of the exception, you should see the SQLException exception message.

Other than that, I don't know how JR would be able to tell more about an SQL error raised during a query execution.

Regards,

Lucian

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...