You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2007/06/04 16:20:41 UTC
[jira] Created: (DERBY-2753) org.apache.derby.impl.drda.DDMWriter
might swallow unexpected exceptions
org.apache.derby.impl.drda.DDMWriter might swallow unexpected exceptions
------------------------------------------------------------------------
Key: DERBY-2753
URL: https://issues.apache.org/jira/browse/DERBY-2753
Project: Derby
Issue Type: Bug
Components: Network Server
Affects Versions: 10.3.0.0
Reporter: Knut Anders Hatlen
Priority: Minor
Some methods in org.apache.derby.impl.drda.DDMWriter catch Exception and print a message about unsupported encoding. They should instead catch the specific exception UnsupportedEncodingException and let all other exceptions propagate up the call stack.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DERBY-2753) org.apache.derby.impl.drda.DDMWriter
might swallow unexpected exceptions
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen updated DERBY-2753:
--------------------------------------
Attachment: encodingexception.diff
Attaching a patch which fixes the issue by changing three occurrences of "catch (Exception e)" with "catch (UnsupportedEncodingException e)". I'm running the tests now, and I plan to commit this simple fix once they have completed.
> org.apache.derby.impl.drda.DDMWriter might swallow unexpected exceptions
> ------------------------------------------------------------------------
>
> Key: DERBY-2753
> URL: https://issues.apache.org/jira/browse/DERBY-2753
> Project: Derby
> Issue Type: Bug
> Components: Network Server
> Affects Versions: 10.3.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Priority: Minor
> Attachments: encodingexception.diff
>
>
> Some methods in org.apache.derby.impl.drda.DDMWriter catch Exception and print a message about unsupported encoding. They should instead catch the specific exception UnsupportedEncodingException and let all other exceptions propagate up the call stack.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (DERBY-2753) org.apache.derby.impl.drda.DDMWriter
might swallow unexpected exceptions
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen resolved DERBY-2753.
---------------------------------------
Resolution: Fixed
Fix Version/s: 10.3.0.0
Committed revision 544403.
> org.apache.derby.impl.drda.DDMWriter might swallow unexpected exceptions
> ------------------------------------------------------------------------
>
> Key: DERBY-2753
> URL: https://issues.apache.org/jira/browse/DERBY-2753
> Project: Derby
> Issue Type: Bug
> Components: Network Server
> Affects Versions: 10.3.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Priority: Minor
> Fix For: 10.3.0.0
>
> Attachments: encodingexception.diff
>
>
> Some methods in org.apache.derby.impl.drda.DDMWriter catch Exception and print a message about unsupported encoding. They should instead catch the specific exception UnsupportedEncodingException and let all other exceptions propagate up the call stack.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (DERBY-2753) org.apache.derby.impl.drda.DDMWriter
might swallow unexpected exceptions
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen reassigned DERBY-2753:
-----------------------------------------
Assignee: Knut Anders Hatlen
> org.apache.derby.impl.drda.DDMWriter might swallow unexpected exceptions
> ------------------------------------------------------------------------
>
> Key: DERBY-2753
> URL: https://issues.apache.org/jira/browse/DERBY-2753
> Project: Derby
> Issue Type: Bug
> Components: Network Server
> Affects Versions: 10.3.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Priority: Minor
>
> Some methods in org.apache.derby.impl.drda.DDMWriter catch Exception and print a message about unsupported encoding. They should instead catch the specific exception UnsupportedEncodingException and let all other exceptions propagate up the call stack.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (DERBY-2753) org.apache.derby.impl.drda.DDMWriter
might swallow unexpected exceptions
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen closed DERBY-2753.
-------------------------------------
> org.apache.derby.impl.drda.DDMWriter might swallow unexpected exceptions
> ------------------------------------------------------------------------
>
> Key: DERBY-2753
> URL: https://issues.apache.org/jira/browse/DERBY-2753
> Project: Derby
> Issue Type: Bug
> Components: Network Server
> Affects Versions: 10.3.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Priority: Minor
> Fix For: 10.3.0.0
>
> Attachments: encodingexception.diff
>
>
> Some methods in org.apache.derby.impl.drda.DDMWriter catch Exception and print a message about unsupported encoding. They should instead catch the specific exception UnsupportedEncodingException and let all other exceptions propagate up the call stack.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.