IceGrid.ObserverAlreadyRegisteredException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of icegrid-compat Show documentation
Show all versions of icegrid-compat Show documentation
Locate, deploy, and manage Ice servers
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.3
//
//
//
// Generated from file `Exception.ice'
//
// Warning: do not edit this file.
//
//
//
package IceGrid;
/**
* This exception is raised if an observer is already registered with
* the registry.
*
* @see AdminSession#setObservers
* @see AdminSession#setObserversByIdentity
*
**/
public class ObserverAlreadyRegisteredException extends Ice.UserException
{
public ObserverAlreadyRegisteredException()
{
this.id = new Ice.Identity();
}
public ObserverAlreadyRegisteredException(Throwable cause)
{
super(cause);
this.id = new Ice.Identity();
}
public ObserverAlreadyRegisteredException(Ice.Identity id)
{
this.id = id;
}
public ObserverAlreadyRegisteredException(Ice.Identity id, Throwable cause)
{
super(cause);
this.id = id;
}
public String
ice_id()
{
return "::IceGrid::ObserverAlreadyRegisteredException";
}
/**
* The identity of the observer.
*
**/
public Ice.Identity id;
protected void
_writeImpl(Ice.OutputStream ostr_)
{
ostr_.startSlice("::IceGrid::ObserverAlreadyRegisteredException", -1, true);
Ice.Identity.ice_write(ostr_, id);
ostr_.endSlice();
}
protected void
_readImpl(Ice.InputStream istr_)
{
istr_.startSlice();
id = Ice.Identity.ice_read(istr_);
istr_.endSlice();
}
public static final long serialVersionUID = -3428664100995204729L;
}