diff options
Diffstat (limited to 'cpp/src/Ice/WSEndpoint.cpp')
-rw-r--r-- | cpp/src/Ice/WSEndpoint.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/Ice/WSEndpoint.cpp b/cpp/src/Ice/WSEndpoint.cpp index 386125545d4..2ef8faa0175 100644 --- a/cpp/src/Ice/WSEndpoint.cpp +++ b/cpp/src/Ice/WSEndpoint.cpp @@ -475,9 +475,8 @@ IceInternal::WSEndpoint::checkOption(const string& option, const string& argumen { if(argument.empty()) { - EndpointParseException ex(__FILE__, __LINE__); - ex.str = "no argument provided for -r option in endpoint " + endpoint + _delegate->options(); - throw ex; + throw EndpointParseException(__FILE__, __LINE__, "no argument provided for -r option in endpoint " + + endpoint + _delegate->options()); } const_cast<string&>(_resource) = argument; return true; |