All Downloads are FREE. Search and download functionalities are using the official Maven repository.

IceGrid.ParseException Maven / Gradle / Ivy

There is a newer version: 3.7.10
Show newest version
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.3
//
// 
//
// Generated from file `FileParser.ice'
//
// Warning: do not edit this file.
//
// 
//

package IceGrid;

/**
 * This exception is raised if an error occurs during parsing.
 *
 **/
public class ParseException extends Ice.UserException
{
    public ParseException()
    {
        this.reason = "";
    }

    public ParseException(Throwable cause)
    {
        super(cause);
        this.reason = "";
    }

    public ParseException(String reason)
    {
        this.reason = reason;
    }

    public ParseException(String reason, Throwable cause)
    {
        super(cause);
        this.reason = reason;
    }

    public String
    ice_id()
    {
        return "::IceGrid::ParseException";
    }

    /**
     * The reason for the failure.
     **/
    public String reason;

    protected void
    _writeImpl(Ice.OutputStream ostr_)
    {
        ostr_.startSlice("::IceGrid::ParseException", -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 = -3636292263007304323L;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy