|
VisiBroker for Java |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.inprise.vbroker.ObjLocation.FailReason
public final class FailReason
The FailReason
enum gives further information to why an operation raised the Fail
exception.
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 |
---|
public static final int _NO_AGENT_AVAILABLE
public static final int _INVALID_REPOSITORY_ID
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
.
public static final int _INVALID_OBJECT_NAME
INVALID_REPOSITORY_ID
if the object name is invalid
public static final int _NO_SUCH_TRIGGER
public static final int _AGENT_ERROR
public static final FailReason NO_AGENT_AVAILABLE
public static final FailReason INVALID_REPOSITORY_ID
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
.
public static final FailReason INVALID_OBJECT_NAME
INVALID_REPOSITORY_ID
if the object name is invalid
public static final FailReason NO_SUCH_TRIGGER
public static final FailReason AGENT_ERROR
Method Detail |
---|
public int value()
public static FailReason from_int(int _vis_value)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |