You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Craig Russell (JIRA)" <ji...@apache.org> on 2008/01/21 22:08:34 UTC

[jira] Created: (JDO-571) Improve error message if exception thrown during query execution

Improve error message if exception thrown during query execution
----------------------------------------------------------------

                 Key: JDO-571
                 URL: https://issues.apache.org/jira/browse/JDO-571
             Project: JDO
          Issue Type: Improvement
    Affects Versions: JDO 2 final
            Reporter: Craig Russell
             Fix For: JDO 2 maintenance release 1


If an exception is thrown during query execution, only JDOUserException is caught, and if it is caught, the query causing the exception is not displayed.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JDO-571) Improve error message if exception thrown during query execution

Posted by "Michelle Caisse (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JDO-571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561128#action_12561128 ] 

Michelle Caisse commented on JDO-571:
-------------------------------------

Looks good.

> Improve error message if exception thrown during query execution
> ----------------------------------------------------------------
>
>                 Key: JDO-571
>                 URL: https://issues.apache.org/jira/browse/JDO-571
>             Project: JDO
>          Issue Type: Improvement
>    Affects Versions: JDO 2 final
>            Reporter: Craig Russell
>             Fix For: JDO 2 maintenance release 1
>
>         Attachments: jdo-571.patch
>
>
> If an exception is thrown during query execution, only JDOUserException is caught, and if it is caught, the query causing the exception is not displayed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (JDO-571) Improve error message if exception thrown during query execution

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JDO-571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Craig Russell reassigned JDO-571:
---------------------------------

    Assignee: Craig Russell

> Improve error message if exception thrown during query execution
> ----------------------------------------------------------------
>
>                 Key: JDO-571
>                 URL: https://issues.apache.org/jira/browse/JDO-571
>             Project: JDO
>          Issue Type: Improvement
>    Affects Versions: JDO 2 final
>            Reporter: Craig Russell
>            Assignee: Craig Russell
>             Fix For: JDO 2 maintenance release 1
>
>         Attachments: jdo-571.patch
>
>
> If an exception is thrown during query execution, only JDOUserException is caught, and if it is caught, the query causing the exception is not displayed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JDO-571) Improve error message if exception thrown during query execution

Posted by "Michael Bouschen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JDO-571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561136#action_12561136 ] 

Michael Bouschen commented on JDO-571:
--------------------------------------

Looks good.


> Improve error message if exception thrown during query execution
> ----------------------------------------------------------------
>
>                 Key: JDO-571
>                 URL: https://issues.apache.org/jira/browse/JDO-571
>             Project: JDO
>          Issue Type: Improvement
>    Affects Versions: JDO 2 final
>            Reporter: Craig Russell
>             Fix For: JDO 2 maintenance release 1
>
>         Attachments: jdo-571.patch
>
>
> If an exception is thrown during query execution, only JDOUserException is caught, and if it is caught, the query causing the exception is not displayed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JDO-571) Improve error message if exception thrown during query execution

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JDO-571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Craig Russell updated JDO-571:
------------------------------

    Attachment: jdo-571.patch

This patch changes the exception being caught to JDOException and adds the query being executed to the stack trace.

> Improve error message if exception thrown during query execution
> ----------------------------------------------------------------
>
>                 Key: JDO-571
>                 URL: https://issues.apache.org/jira/browse/JDO-571
>             Project: JDO
>          Issue Type: Improvement
>    Affects Versions: JDO 2 final
>            Reporter: Craig Russell
>             Fix For: JDO 2 maintenance release 1
>
>         Attachments: jdo-571.patch
>
>
> If an exception is thrown during query execution, only JDOUserException is caught, and if it is caught, the query causing the exception is not displayed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JDO-571) Improve error message if exception thrown during query execution

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JDO-571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Craig Russell resolved JDO-571.
-------------------------------

    Resolution: Fixed

tck2:
svn commit -m "JDO-570 Improve error handling; add query string to unexpected exception" src/java/org/apache/jdo/tck/query/QueryTest.java 
Sending        src/java/org/apache/jdo/tck/query/QueryTest.java
Transmitting file data .
Committed revision 614028.

tck2-legacy:
svn commit -m "JDO-570 Improve error handling; add query string to unexpected exception" src/java/org/apache/jdo/tck/query/QueryTest.java
Sending        src/java/org/apache/jdo/tck/query/QueryTest.java
Transmitting file data .
Committed revision 614029.




> Improve error message if exception thrown during query execution
> ----------------------------------------------------------------
>
>                 Key: JDO-571
>                 URL: https://issues.apache.org/jira/browse/JDO-571
>             Project: JDO
>          Issue Type: Improvement
>    Affects Versions: JDO 2 final
>            Reporter: Craig Russell
>             Fix For: JDO 2 maintenance release 1
>
>         Attachments: jdo-571.patch
>
>
> If an exception is thrown during query execution, only JDOUserException is caught, and if it is caught, the query causing the exception is not displayed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.