Home Help Center

IceSSL error handling

dreijerdreijer Member Soren DreijerOrganization: EchobitProject: Evolve, a social platform for gamers
I'm wrapping Ice in an internal module in our application. What's the best way to programmatically get more information about why an SSL connection failed? As far as I can tell, IceSSL just throws a generic ProtocolException, but I'd like to get more information out so I can code logic against it, such as SelfSignedCertificateException or InvalidCAException.

Is this possible?


  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff

    I'm afraid that's not currently possible. As you've seen, IceSSL doesn't throw detailed exceptions that would allow you to distinguish between all of the various error conditions that could arise. This is partly due to a lack of information and consistency across platforms from the low-level SSL implementations.

Sign In or Register to comment.