Package com.perforce.p4java.exception
Class MessageGenericCode
java.lang.Object
com.perforce.p4java.exception.MessageGenericCode
Defines known Perforce error message generic codes. These define
the broad type of the particular error, and are typically returned
from the Perforce server as as simple integers.
These codes are normally made available through the RequestException class, but may not be set for all errors encountered, so EV_NONE does not necessarily mean no error, but only that there's no generic code associated with this specific error.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intPerforce server administrative action required.static final intClient-side program errors.static final intCommunications error.static final intClient configuration inadequate.static final intUsing a Perforce entity in the wrong context.static final intPerforce operation returned empty results.static final intUnexplained or unknown fault in a Perforce program or server.static final intTrying to do something prohibited by Perforce.static final intNo code has been set yet, or no specific code is associated with this error.static final intSomething needs to be corrected before this operation can succeed.static final intPerforce protections prevented this operation from succeeding.static final intSomething passed to the Perforce server is too big.static final intThe accessed or associated entity is unknown.static final intPerforce client or server too old to interact.static final intA usage error. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EV_NONE
public static final int EV_NONENo code has been set yet, or no specific code is associated with this error.- See Also:
-
EV_USAGE
public static final int EV_USAGEA usage error.- See Also:
-
EV_UNKNOWN
public static final int EV_UNKNOWNThe accessed or associated entity is unknown.- See Also:
-
EV_CONTEXT
public static final int EV_CONTEXTUsing a Perforce entity in the wrong context.- See Also:
-
EV_ILLEGAL
public static final int EV_ILLEGALTrying to do something prohibited by Perforce.- See Also:
-
EV_NOTYET
public static final int EV_NOTYETSomething needs to be corrected before this operation can succeed.- See Also:
-
EV_PROTECT
public static final int EV_PROTECTPerforce protections prevented this operation from succeeding.- See Also:
-
EV_EMPTY
public static final int EV_EMPTYPerforce operation returned empty results.- See Also:
-
EV_FAULT
public static final int EV_FAULTUnexplained or unknown fault in a Perforce program or server.- See Also:
-
EV_CLIENT
public static final int EV_CLIENTClient-side program errors.- See Also:
-
EV_ADMIN
public static final int EV_ADMINPerforce server administrative action required.- See Also:
-
EV_CONFIG
public static final int EV_CONFIGClient configuration inadequate.- See Also:
-
EV_UPGRADE
public static final int EV_UPGRADEPerforce client or server too old to interact.- See Also:
-
EV_COMM
public static final int EV_COMMCommunications error.- See Also:
-
EV_TOOBIG
public static final int EV_TOOBIGSomething passed to the Perforce server is too big.- See Also:
-
-
Constructor Details
-
MessageGenericCode
public MessageGenericCode()
-