Ice.BadMagicException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ice Show documentation
Show all versions of ice Show documentation
Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms
// **********************************************************************
//
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.6.5
//
//
//
// 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_name()
{
return "Ice::BadMagicException";
}
/**
* A sequence containing the first four bytes of the incorrect message.
*
**/
public byte[] badMagic;
public static final long serialVersionUID = -3934807911473944716L;
}