Ice.BadMagicException 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 that a message did not start with the expected
* magic number ('I', 'c', 'e', 'P').
*
**/
public class BadMagicException extends ProtocolException
{
public BadMagicException()
{
super();
}
public BadMagicException(Throwable cause)
{
super(cause);
}
public BadMagicException(String reason, byte[] badMagic)
{
super(reason);
this.badMagic = badMagic;
}
public BadMagicException(String reason, byte[] badMagic, Throwable cause)
{
super(reason, cause);
this.badMagic = badMagic;
}
public String
ice_id()
{
return "::Ice::BadMagicException";
}
/**
* A sequence containing the first four bytes of the incorrect message.
*
**/
public byte[] badMagic;
public static final long serialVersionUID = -3934807911473944716L;
}