You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@etch.apache.org by "Tohru OHZONO (JIRA)" <ji...@apache.org> on 2009/01/15 08:43:59 UTC
[jira] Created: (ETCH-26) some unexpected exceptions are thrown if
.Net Framework Language Pack is installed
some unexpected exceptions are thrown if .Net Framework Language Pack is installed
----------------------------------------------------------------------------------
Key: ETCH-26
URL: https://issues.apache.org/jira/browse/ETCH-26
Project: Etch
Issue Type: Bug
Components: csharp-binding
Affects Versions: 1.0.1, 1.0.0
Environment: windows .Net Framework Language Pack is installed
Reporter: Tohru OHZONO
If .Net Framework Langurage Pack is installed,
The "Message" property of Exception returns localized messages.
So, the following in the Etch.Util.TcpTransport.ReadSocket() cause a problem.
//---------------------------------//
if (e.Message == null)
throw e;
if (e.Message.Contains("connection was aborted"))
return;
if (e.Message.Contains("blocking operation"))
return;
if (e.Message.Contains("socket closed"))
return;
if (e.Message.Contains("read operation failed"))
return;
throw e;
//---------------------------------//
"e.Message" returns localized message,
So thease exceptions are thrown to the outside.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ETCH-26) some unexpected exceptions are thrown if
.Net Framework Language Pack is installed
Posted by "Holger Grandy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ETCH-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Holger Grandy updated ETCH-26:
------------------------------
Affects Version/s: 1.1
> some unexpected exceptions are thrown if .Net Framework Language Pack is installed
> ----------------------------------------------------------------------------------
>
> Key: ETCH-26
> URL: https://issues.apache.org/jira/browse/ETCH-26
> Project: Etch
> Issue Type: Bug
> Components: csharp-binding
> Affects Versions: 1.0.0, 1.0.1, 1.1
> Environment: windows .Net Framework Language Pack is installed
> Reporter: Tohru OHZONO
> Fix For: 1.2
>
>
> If .Net Framework Langurage Pack is installed,
> The "Message" property of Exception returns localized messages.
> So, the following in the Etch.Util.TcpTransport.ReadSocket() cause a problem.
> //---------------------------------//
> if (e.Message == null)
> throw e;
> if (e.Message.Contains("connection was aborted"))
> return;
> if (e.Message.Contains("blocking operation"))
> return;
> if (e.Message.Contains("socket closed"))
> return;
> if (e.Message.Contains("read operation failed"))
> return;
>
> throw e;
> //---------------------------------//
> "e.Message" returns localized message,
> So thease exceptions are thrown to the outside.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ETCH-26) C# Binding: some unexpected exceptions
are thrown if .Net Framework Language Pack is installed
Posted by "Holger Grandy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ETCH-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Holger Grandy updated ETCH-26:
------------------------------
Summary: C# Binding: some unexpected exceptions are thrown if .Net Framework Language Pack is installed (was: some unexpected exceptions are thrown if .Net Framework Language Pack is installed)
> C# Binding: some unexpected exceptions are thrown if .Net Framework Language Pack is installed
> ----------------------------------------------------------------------------------------------
>
> Key: ETCH-26
> URL: https://issues.apache.org/jira/browse/ETCH-26
> Project: Etch
> Issue Type: Bug
> Components: csharp-binding
> Affects Versions: 1.0.0, 1.0.1, 1.1
> Environment: windows .Net Framework Language Pack is installed
> Reporter: Tohru OHZONO
> Fix For: 1.2
>
>
> If .Net Framework Langurage Pack is installed,
> The "Message" property of Exception returns localized messages.
> So, the following in the Etch.Util.TcpTransport.ReadSocket() cause a problem.
> //---------------------------------//
> if (e.Message == null)
> throw e;
> if (e.Message.Contains("connection was aborted"))
> return;
> if (e.Message.Contains("blocking operation"))
> return;
> if (e.Message.Contains("socket closed"))
> return;
> if (e.Message.Contains("read operation failed"))
> return;
>
> throw e;
> //---------------------------------//
> "e.Message" returns localized message,
> So thease exceptions are thrown to the outside.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ETCH-26) some unexpected exceptions are thrown if
.Net Framework Language Pack is installed
Posted by "Holger Grandy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ETCH-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Holger Grandy updated ETCH-26:
------------------------------
Fix Version/s: 1.2
> some unexpected exceptions are thrown if .Net Framework Language Pack is installed
> ----------------------------------------------------------------------------------
>
> Key: ETCH-26
> URL: https://issues.apache.org/jira/browse/ETCH-26
> Project: Etch
> Issue Type: Bug
> Components: csharp-binding
> Affects Versions: 1.0.0, 1.0.1
> Environment: windows .Net Framework Language Pack is installed
> Reporter: Tohru OHZONO
> Fix For: 1.2
>
>
> If .Net Framework Langurage Pack is installed,
> The "Message" property of Exception returns localized messages.
> So, the following in the Etch.Util.TcpTransport.ReadSocket() cause a problem.
> //---------------------------------//
> if (e.Message == null)
> throw e;
> if (e.Message.Contains("connection was aborted"))
> return;
> if (e.Message.Contains("blocking operation"))
> return;
> if (e.Message.Contains("socket closed"))
> return;
> if (e.Message.Contains("read operation failed"))
> return;
>
> throw e;
> //---------------------------------//
> "e.Message" returns localized message,
> So thease exceptions are thrown to the outside.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.