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

com.zeroc.Ice.SyscallException Maven / Gradle / Ivy

//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.2
//
// 
//
// Generated from file `LocalException.ice'
//
// Warning: do not edit this file.
//
// 
//

package com.zeroc.Ice;

/**
 * This exception is raised if a system error occurred in the server
 * or client process. There are many possible causes for such a system
 * exception. For details on the cause, {@link SyscallException#error}
 * should be inspected.
 **/
public class SyscallException extends LocalException
{
    public SyscallException()
    {
        this.error = 0;
    }

    public SyscallException(Throwable cause)
    {
        super(cause);
        this.error = 0;
    }

    public SyscallException(int error)
    {
        this.error = error;
    }

    public SyscallException(int error, Throwable cause)
    {
        super(cause);
        this.error = error;
    }

    public String ice_id()
    {
        return "::Ice::SyscallException";
    }

    /**
     * The error number describing the system exception. For C++ and
     * Unix, this is equivalent to errno. For C++
     * and Windows, this is the value returned by
     * GetLastError() or
     * WSAGetLastError().
     **/
    public int error;

    /** @hidden */
    public static final long serialVersionUID = -2440066513892919497L;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy