Ice.UnsupportedProtocolException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ice-compat Show documentation
Show all versions of ice-compat Show documentation
Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms
The newest version!
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.10
//
//
//
// Generated from file `LocalException.ice'
//
// Warning: do not edit this file.
//
//
//
package Ice;
/**
* This exception indicates an unsupported protocol version.
*
**/
public class UnsupportedProtocolException extends ProtocolException
{
public UnsupportedProtocolException()
{
super();
this.bad = new ProtocolVersion();
this.supported = new ProtocolVersion();
}
public UnsupportedProtocolException(Throwable cause)
{
super(cause);
this.bad = new ProtocolVersion();
this.supported = new ProtocolVersion();
}
public UnsupportedProtocolException(String reason, ProtocolVersion bad, ProtocolVersion supported)
{
super(reason);
this.bad = bad;
this.supported = supported;
}
public UnsupportedProtocolException(String reason, ProtocolVersion bad, ProtocolVersion supported, Throwable cause)
{
super(reason, cause);
this.bad = bad;
this.supported = supported;
}
public String
ice_id()
{
return "::Ice::UnsupportedProtocolException";
}
/**
* The version of the unsupported protocol.
*
**/
public ProtocolVersion bad;
/**
* The version of the protocol that is supported.
*
**/
public ProtocolVersion supported;
public static final long serialVersionUID = 811091383730564025L;
}