com.accendia.iris.client
Interface IReturnCodes


public interface IReturnCodes

Contains the error codes for a remote invocation. The InvocationException encapsulates one of these codes to describe the error condition.


Field Summary
static int ACCESS_FAILED
          Code to describe that the method invocation can not be completed because the current user doesn't have the required privileges.
static int APPLICATION_NOT_FOUND
          The application invoked does not exist.
static int COMMAND_FAILED
          Code to describe that the method called has thrown an exception.
static int COMMAND_NOT_FOUND
          The command invoked does not exist.
static int OK
          Describes a successful remote invocation.
 

Field Detail

OK

static final int OK
Describes a successful remote invocation. This code is checked internally by the ServerContext.

See Also:
Constant Field Values

APPLICATION_NOT_FOUND

static final int APPLICATION_NOT_FOUND
The application invoked does not exist. This code is checked internally by the ServerContext. The client code should catch the RemoteObjectNotFoundException exception.

See Also:
Constant Field Values

COMMAND_NOT_FOUND

static final int COMMAND_NOT_FOUND
The command invoked does not exist. This code is checked internally by the ServerContext. The client code should catch the RemoteObjectNotFoundException exception.

See Also:
Constant Field Values

COMMAND_FAILED

static final int COMMAND_FAILED
Code to describe that the method called has thrown an exception.

See Also:
Constant Field Values

ACCESS_FAILED

static final int ACCESS_FAILED
Code to describe that the method invocation can not be completed because the current user doesn't have the required privileges.

See Also:
Constant Field Values