IceGrid.ServerStopException 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 a server failed to stop.
*
**/
public class ServerStopException extends Ice.UserException
{
public ServerStopException()
{
this.id = "";
this.reason = "";
}
public ServerStopException(Throwable cause)
{
super(cause);
this.id = "";
this.reason = "";
}
public ServerStopException(String id, String reason)
{
this.id = id;
this.reason = reason;
}
public ServerStopException(String id, String reason, Throwable cause)
{
super(cause);
this.id = id;
this.reason = reason;
}
public String
ice_id()
{
return "::IceGrid::ServerStopException";
}
/**
* The identifier of the server.
*
**/
public String id;
/**
* The reason for the failure.
*
**/
public String reason;
protected void
_writeImpl(Ice.OutputStream ostr_)
{
ostr_.startSlice("::IceGrid::ServerStopException", -1, true);
ostr_.writeString(id);
ostr_.writeString(reason);
ostr_.endSlice();
}
protected void
_readImpl(Ice.InputStream istr_)
{
istr_.startSlice();
id = istr_.readString();
reason = istr_.readString();
istr_.endSlice();
}
public static final long serialVersionUID = 8527908645907368191L;
}