Enum Class ClientMessage.ClientMessageId
java.lang.Object
java.lang.Enum<ClientMessage.ClientMessageId>
com.perforce.p4java.impl.mapbased.rpc.func.client.ClientMessage.ClientMessageId
- All Implemented Interfaces:
Serializable,Comparable<ClientMessage.ClientMessageId>,Constable
- Enclosing class:
- ClientMessage
Basic message ID. Order here is not important; explanation of
each ID's meaning is generally given with the associated error
string -- see the static ClientMessage array below...
Not all codes are currently applicable, and some of these codes as P4Java-specific.
Note that ID's are NOT the same as error codes; codes are given below for each message as copied from the C++ API, and those codes are significant (and should be the same as the corresponding C++ API client message code) but are basically intended to be opaque here.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ClientMessage.ClientMessageId[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
-
CONNECT_FAILED
-
FATAL_CLIENT_ERROR
-
CANT_CLOBBER
-
CANT_CREATE_DIR
-
CANT_EDIT_FILE_TYPE
-
OUT_OF_RESOURCES
-
ASSUMING_FILE_TYPE
-
SUBSTITUTING_FILE_TYPE
-
CANT_ADD_FILE_TYPE
-
CANT_OVERWRITE_FILE
-
CANT_DELETE_FILE
-
CANT_CREATE_FILE
-
CANT_CREATE_FILE_TYPE
-
FILE_WRITE_ERROR
-
FILE_NONEXISTENT
-
FILE_MISSING_ASSUMING_TYPE
-
FILE_SEND_ERROR
-
FILE_MOVE_ERROR
-
MERGE_MESSAGE3
-
OS_FILE_READ_ERROR
-
CANT_CHMOD_FILE
-
DIGEST_MISMATCH
-
FILE_OPEN_ERROR
-
FILE_DECODER_ERROR
-
FILE_ENCODER_ERROR
-
NO_MODIFIED_FILE
-
NOT_UNDER_CLIENT_PATH
-
DIR_NOT_EMPTY
-
PATH_PROTECTED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-