Package com.perforce.p4java.exception
Class MessageGenericCode
- java.lang.Object
-
- com.perforce.p4java.exception.MessageGenericCode
-
public class MessageGenericCode extends java.lang.ObjectDefines 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
Fields Modifier and Type Field Description static intEV_ADMINPerforce server administrative action required.static intEV_CLIENTClient-side program errors.static intEV_COMMCommunications error.static intEV_CONFIGClient configuration inadequate.static intEV_CONTEXTUsing a Perforce entity in the wrong context.static intEV_EMPTYPerforce operation returned empty results.static intEV_FAULTUnexplained or unknown fault in a Perforce program or server.static intEV_ILLEGALTrying to do something prohibited by Perforce.static intEV_NONENo code has been set yet, or no specific code is associated with this error.static intEV_NOTYETSomething needs to be corrected before this operation can succeed.static intEV_PROTECTPerforce protections prevented this operation from succeeding.static intEV_TOOBIGSomething passed to the Perforce server is too big.static intEV_UNKNOWNThe accessed or associated entity is unknown.static intEV_UPGRADEPerforce client or server too old to interact.static intEV_USAGEA usage error.
-
Constructor Summary
Constructors Constructor Description MessageGenericCode()
-
-
-
Field Detail
-
EV_NONE
public static final int EV_NONE
No code has been set yet, or no specific code is associated with this error.- See Also:
- Constant Field Values
-
EV_USAGE
public static final int EV_USAGE
A usage error.- See Also:
- Constant Field Values
-
EV_UNKNOWN
public static final int EV_UNKNOWN
The accessed or associated entity is unknown.- See Also:
- Constant Field Values
-
EV_CONTEXT
public static final int EV_CONTEXT
Using a Perforce entity in the wrong context.- See Also:
- Constant Field Values
-
EV_ILLEGAL
public static final int EV_ILLEGAL
Trying to do something prohibited by Perforce.- See Also:
- Constant Field Values
-
EV_NOTYET
public static final int EV_NOTYET
Something needs to be corrected before this operation can succeed.- See Also:
- Constant Field Values
-
EV_PROTECT
public static final int EV_PROTECT
Perforce protections prevented this operation from succeeding.- See Also:
- Constant Field Values
-
EV_EMPTY
public static final int EV_EMPTY
Perforce operation returned empty results.- See Also:
- Constant Field Values
-
EV_FAULT
public static final int EV_FAULT
Unexplained or unknown fault in a Perforce program or server.- See Also:
- Constant Field Values
-
EV_CLIENT
public static final int EV_CLIENT
Client-side program errors.- See Also:
- Constant Field Values
-
EV_ADMIN
public static final int EV_ADMIN
Perforce server administrative action required.- See Also:
- Constant Field Values
-
EV_CONFIG
public static final int EV_CONFIG
Client configuration inadequate.- See Also:
- Constant Field Values
-
EV_UPGRADE
public static final int EV_UPGRADE
Perforce client or server too old to interact.- See Also:
- Constant Field Values
-
EV_COMM
public static final int EV_COMM
Communications error.- See Also:
- Constant Field Values
-
EV_TOOBIG
public static final int EV_TOOBIG
Something passed to the Perforce server is too big.- See Also:
- Constant Field Values
-
-