diff options
-rw-r--r-- | cpp/src/Ice/winrt/StreamEndpointI.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/src/Ice/winrt/StreamEndpointI.cpp b/cpp/src/Ice/winrt/StreamEndpointI.cpp index 1aae6f4859d..aff7ac35972 100644 --- a/cpp/src/Ice/winrt/StreamEndpointI.cpp +++ b/cpp/src/Ice/winrt/StreamEndpointI.cpp @@ -178,6 +178,14 @@ IceInternal::StreamEndpointI::transceiver() const AcceptorPtr IceInternal::StreamEndpointI::acceptor(const string&) const { + if(secure()) + { + Ice::FeatureNotSupportedException ex(__FILE__, __LINE__); + ostringstream os; + os << "SSL server endpoints are not supported with UWP applications"; + ex.unsupportedFeature = os.str(); + throw ex; + } return new StreamAcceptor(const_cast<StreamEndpointI*>(this), _instance, _host, _port); } |