You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2010/03/23 00:59:27 UTC

[jira] Created: (AVRO-487) reflect does not transmit exception messages

reflect does not transmit exception messages
--------------------------------------------

                 Key: AVRO-487
                 URL: https://issues.apache.org/jira/browse/AVRO-487
             Project: Avro
          Issue Type: Bug
          Components: java
    Affects Versions: 1.3.1
            Reporter: Doug Cutting
             Fix For: 1.3.1


Exceptions thrown by reflection do not include their error message when received.

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


[jira] Commented: (AVRO-487) reflect does not transmit exception messages

Posted by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848499#action_12848499 ] 

Thiruvalluvan M. G. commented on AVRO-487:
------------------------------------------

Looks good to me.

A nit, however.

SimpleError extends Exception. A more appropriate name is SimpleException. The Java conventions make one think that SimpleError is extended from something like java.lang.Error. I understand this is not a new issue. But now that you are at it, you can have it fixed. Since it is only a test class, no users will be affected.

> reflect does not transmit exception messages
> --------------------------------------------
>
>                 Key: AVRO-487
>                 URL: https://issues.apache.org/jira/browse/AVRO-487
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.3.1
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.3.2
>
>         Attachments: AVRO-487.patch
>
>
> Exceptions thrown by reflection do not include their error message when received.

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


[jira] Updated: (AVRO-487) reflect does not transmit exception messages

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

Doug Cutting updated AVRO-487:
------------------------------

    Fix Version/s:     (was: 1.3.1)
                   1.3.2
           Status: Patch Available  (was: Open)

> reflect does not transmit exception messages
> --------------------------------------------
>
>                 Key: AVRO-487
>                 URL: https://issues.apache.org/jira/browse/AVRO-487
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.3.1
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.3.2
>
>         Attachments: AVRO-487.patch
>
>
> Exceptions thrown by reflection do not include their error message when received.

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


[jira] Updated: (AVRO-487) reflect does not transmit exception messages

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

Doug Cutting updated AVRO-487:
------------------------------

    Attachment: AVRO-487.patch

Here's a patch that fixes this, with tests.

> reflect does not transmit exception messages
> --------------------------------------------
>
>                 Key: AVRO-487
>                 URL: https://issues.apache.org/jira/browse/AVRO-487
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.3.1
>            Reporter: Doug Cutting
>             Fix For: 1.3.2
>
>         Attachments: AVRO-487.patch
>
>
> Exceptions thrown by reflection do not include their error message when received.

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


[jira] Assigned: (AVRO-487) reflect does not transmit exception messages

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

Doug Cutting reassigned AVRO-487:
---------------------------------

    Assignee: Doug Cutting

> reflect does not transmit exception messages
> --------------------------------------------
>
>                 Key: AVRO-487
>                 URL: https://issues.apache.org/jira/browse/AVRO-487
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.3.1
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.3.2
>
>         Attachments: AVRO-487.patch
>
>
> Exceptions thrown by reflection do not include their error message when received.

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


[jira] Updated: (AVRO-487) reflect does not transmit exception messages

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

Doug Cutting updated AVRO-487:
------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

> SimpleError extends Exception. A more appropriate name is SimpleException.

Renamed this and committed the patch.  Thanks for the review, Thiru!


> reflect does not transmit exception messages
> --------------------------------------------
>
>                 Key: AVRO-487
>                 URL: https://issues.apache.org/jira/browse/AVRO-487
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.3.1
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.3.2
>
>         Attachments: AVRO-487.patch
>
>
> Exceptions thrown by reflection do not include their error message when received.

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