IceStorm.BadQoS Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of icestorm-compat Show documentation
Show all versions of icestorm-compat Show documentation
Publish-subscribe event distribution service
// **********************************************************************
//
// 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.7.1
//
//
//
// Generated from file `IceStorm.ice'
//
// Warning: do not edit this file.
//
//
//
package IceStorm;
/**
* This exception indicates that a subscription failed due to an
* invalid QoS.
*
**/
public class BadQoS extends Ice.UserException
{
public BadQoS()
{
this.reason = "";
}
public BadQoS(Throwable cause)
{
super(cause);
this.reason = "";
}
public BadQoS(String reason)
{
this.reason = reason;
}
public BadQoS(String reason, Throwable cause)
{
super(cause);
this.reason = reason;
}
public String
ice_id()
{
return "::IceStorm::BadQoS";
}
/**
* The reason for the failure.
*
**/
public String reason;
protected void
_writeImpl(Ice.OutputStream ostr_)
{
ostr_.startSlice("::IceStorm::BadQoS", -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 = -3992827970797565542L;
}