Ice.SyscallException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ice-compat Show documentation
Show all versions of ice-compat Show documentation
Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms
// **********************************************************************
//
// 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 `LocalException.ice'
//
// Warning: do not edit this file.
//
//
//
package 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;
public static final long serialVersionUID = -2440066513892919497L;
}