diff options
author | Benoit Foucher <benoit@zeroc.com> | 2012-04-26 18:37:38 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2012-04-26 18:37:38 +0200 |
commit | de59ae055c776b69a9552335f2ce9920ae1e7305 (patch) | |
tree | 2f2b3a439650fd1a2ccd8d9fe5264f8239f7ebe8 /java/src/Ice/Util.java | |
parent | Merge remote-tracking branch 'origin/master' into encoding11 (diff) | |
download | ice-de59ae055c776b69a9552335f2ce9920ae1e7305.tar.bz2 ice-de59ae055c776b69a9552335f2ce9920ae1e7305.tar.xz ice-de59ae055c776b69a9552335f2ce9920ae1e7305.zip |
Win32 fixes, C# port
Diffstat (limited to 'java/src/Ice/Util.java')
-rw-r--r-- | java/src/Ice/Util.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/java/src/Ice/Util.java b/java/src/Ice/Util.java index 55608170ecb..c18e1222b82 100644 --- a/java/src/Ice/Util.java +++ b/java/src/Ice/Util.java @@ -528,7 +528,7 @@ public final class Util /** * Converts a string to a protocol version. * - * @param s The string to convert. + * @param version The string to convert. * * @return The converted protocol version. **/ @@ -541,7 +541,7 @@ public final class Util /** * Converts a string to an encoding version. * - * @param s The string to convert. + * @param version The string to convert. * * @return The converted object identity. **/ @@ -616,12 +616,12 @@ public final class Util } catch(NumberFormatException ex) { - throw new Ice.EndpointParseException("invalid version value `" + str + "'"); + throw new Ice.VersionParseException("invalid version value `" + str + "'"); } if(majVersion < 1 || majVersion > 255) { - throw new Ice.EndpointParseException("range error in version `" + str + "'"); + throw new Ice.VersionParseException("range error in version `" + str + "'"); } return (byte)majVersion; @@ -644,12 +644,12 @@ public final class Util } catch(NumberFormatException ex) { - throw new Ice.EndpointParseException("invalid version value `" + str + "'"); + throw new Ice.VersionParseException("invalid version value `" + str + "'"); } if(minVersion < 0 || minVersion > 255) { - throw new Ice.EndpointParseException("range error in version `" + str + "'"); + throw new Ice.VersionParseException("range error in version `" + str + "'"); } return (byte)minVersion; |