VisiBroker for Java

com.inprise.vbroker.ObjLocation
Class FailReason

java.lang.Object
  extended by com.inprise.vbroker.ObjLocation.FailReason
All Implemented Interfaces:
java.io.Serializable, IDLEntity

public final class FailReason
extends java.lang.Object
implements IDLEntity

The FailReason enum gives further information to why an operation raised the Fail exception.

See Also:
Serialized Form

Field Summary
static int _AGENT_ERROR
          Raised in case of unsuccessful communications with the OSAgent (other than the case where no agent is available)
static int _INVALID_OBJECT_NAME
          Like INVALID_REPOSITORY_ID if the object name is invalid
static int _INVALID_REPOSITORY_ID
          If the repository id given in the operations all_instances, all_replica, all_instances_descs or all_replica_descs is invalid, the Fail exception will contain an enum value of INVALID_REPOSITORY_ID.
static int _NO_AGENT_AVAILABLE
          This value indicates that no agent could be found.
static int _NO_SUCH_TRIGGER
          obsolete
static FailReason AGENT_ERROR
          Raised in case of unsuccessful communications with the OSAgent (other than the case where no agent is available)
static FailReason INVALID_OBJECT_NAME
          Like INVALID_REPOSITORY_ID if the object name is invalid
static FailReason INVALID_REPOSITORY_ID
          If the repository id given in the operations all_instances, all_replica, all_instances_descs or all_replica_descs is invalid, the Fail exception will contain an enum value of INVALID_REPOSITORY_ID.
static FailReason NO_AGENT_AVAILABLE
          This value indicates that no agent could be found.
static FailReason NO_SUCH_TRIGGER
          obsolete
 
Method Summary
 boolean equals(java.lang.Object o)
           
static FailReason from_int(int _vis_value)
           
 int hashCode()
           
 java.lang.String toString()
           
 int value()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_NO_AGENT_AVAILABLE

public static final int _NO_AGENT_AVAILABLE
This value indicates that no agent could be found.

See Also:
Constant Field Values

_INVALID_REPOSITORY_ID

public static final int _INVALID_REPOSITORY_ID
If the repository id given in the operations all_instances, all_replica, all_instances_descs or all_replica_descs is invalid, the Fail exception will contain an enum value of INVALID_REPOSITORY_ID.

See Also:
Constant Field Values

_INVALID_OBJECT_NAME

public static final int _INVALID_OBJECT_NAME
Like INVALID_REPOSITORY_ID if the object name is invalid

See Also:
Constant Field Values

_NO_SUCH_TRIGGER

public static final int _NO_SUCH_TRIGGER
obsolete

See Also:
Constant Field Values

_AGENT_ERROR

public static final int _AGENT_ERROR
Raised in case of unsuccessful communications with the OSAgent (other than the case where no agent is available)

See Also:
Constant Field Values

NO_AGENT_AVAILABLE

public static final FailReason NO_AGENT_AVAILABLE
This value indicates that no agent could be found.


INVALID_REPOSITORY_ID

public static final FailReason INVALID_REPOSITORY_ID
If the repository id given in the operations all_instances, all_replica, all_instances_descs or all_replica_descs is invalid, the Fail exception will contain an enum value of INVALID_REPOSITORY_ID.


INVALID_OBJECT_NAME

public static final FailReason INVALID_OBJECT_NAME
Like INVALID_REPOSITORY_ID if the object name is invalid


NO_SUCH_TRIGGER

public static final FailReason NO_SUCH_TRIGGER
obsolete


AGENT_ERROR

public static final FailReason AGENT_ERROR
Raised in case of unsuccessful communications with the OSAgent (other than the case where no agent is available)

Method Detail

value

public int value()

from_int

public static FailReason from_int(int _vis_value)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online