com.perforce.p4java.exception
Class MessageGenericCode

java.lang.Object
  extended by com.perforce.p4java.exception.MessageGenericCode

public class MessageGenericCode
extends Object

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
static int EV_ADMIN
          Perforce server administrative action required.
static int EV_CLIENT
          Client-side program errors.
static int EV_COMM
          Communications error.
static int EV_CONFIG
          Client configuration inadequate.
static int EV_CONTEXT
          Using a Perforce entity in the wrong context.
static int EV_EMPTY
          Perforce operation returned empty results.
static int EV_FAULT
          Unexplained or unknown fault in a Perforce program or server.
static int EV_ILLEGAL
          Trying to do something prohibited by Perforce.
static int EV_NONE
          No code has been set yet, or no specific code is associated with this error.
static int EV_NOTYET
          Something needs to be corrected before this operation can succeed.
static int EV_PROTECT
          Perforce protections prevented this operation from succeeding.
static int EV_TOOBIG
          Something passed to the Perforce server is too big.
static int EV_UNKNOWN
          The accessed or associated entity is unknown.
static int EV_UPGRADE
          Perforce client or server too old to interact.
static int EV_USAGE
          A usage error.
 
Constructor Summary
MessageGenericCode()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

MessageGenericCode

public MessageGenericCode()


Copyright © 2015 Perforce Software. All Rights Reserved.