IceGrid.AllocationException 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 the allocation of an object failed.
*
**/
public class AllocationException extends Ice.UserException
{
public AllocationException()
{
this.reason = "";
}
public AllocationException(Throwable cause)
{
super(cause);
this.reason = "";
}
public AllocationException(String reason)
{
this.reason = reason;
}
public AllocationException(String reason, Throwable cause)
{
super(cause);
this.reason = reason;
}
public String
ice_id()
{
return "::IceGrid::AllocationException";
}
/**
* The reason why the object couldn't be allocated.
*
**/
public String reason;
protected void
_writeImpl(Ice.OutputStream ostr_)
{
ostr_.startSlice("::IceGrid::AllocationException", -1, true);
ostr_.writeString(reason);
ostr_.endSlice();
}
protected void
_readImpl(Ice.InputStream istr_)
{
istr_.startSlice();
reason = istr_.readString();
istr_.endSlice();
}
public static final long serialVersionUID = -6924783515782391880L;
}