com.perforce.p4java.exception
Class MessageSubsystemCode

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

public class MessageSubsystemCode
extends Object

Defines known Perforce message error subsystem codes as returned from the P4Java message and exception system. The subsystem code signals where a specific message originated in the Perforce server or client; it is not always exact, in that the message may have more than one real origin, but in general P4Java returns the code the server returned when it can get this information.

Note that this information is not always available, and is typically only visible through the RequestException mechanism if it's available at all. Most of these codes will not be encountered in normal use by P4Java users, but ES_INFO, ES_SERVER, and ES_CLIENT (at least) may be seen in everyday usage.


Field Summary
static int ES_BROKER
          Error occurred in the Perforce broker.
static int ES_CLIENT
          Error in the generic upper levels of the Perforce client (including P4Java).
static int ES_DB
          Error in the server-side metadata database.
static int ES_DBSUPP
          Error in the server-side metadata database support modules.
static int ES_DM
          Error in the server-side data manager.
static int ES_FTPD
          Error occurred in the P4FTP server.
static int ES_HELP
          Pseudo subsystem for help messages.
static int ES_INFO
          Pseudo subsystem for information messages.
static int ES_LBR
          Error in the server librarian module.
static int ES_OS
          Operating system error (i.e., typically an error detected by the OS).
static int ES_RPC
          Error in the underlying Perforce transport protocol.
static int ES_SERVER
          Error in the generic upper levels of the Perforce server.
static int ES_SPEC
          Pseudo subsystem for spec / comment messages.
static int ES_SUPP
          Error in miscellaneous support modules or apps.
 
Constructor Summary
MessageSubsystemCode()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ES_OS

public static final int ES_OS
Operating system error (i.e., typically an error detected by the OS).

See Also:
Constant Field Values

ES_SUPP

public static final int ES_SUPP
Error in miscellaneous support modules or apps.

See Also:
Constant Field Values

ES_LBR

public static final int ES_LBR
Error in the server librarian module.

See Also:
Constant Field Values

ES_RPC

public static final int ES_RPC
Error in the underlying Perforce transport protocol.

See Also:
Constant Field Values

ES_DB

public static final int ES_DB
Error in the server-side metadata database.

See Also:
Constant Field Values

ES_DBSUPP

public static final int ES_DBSUPP
Error in the server-side metadata database support modules.

See Also:
Constant Field Values

ES_DM

public static final int ES_DM
Error in the server-side data manager.

See Also:
Constant Field Values

ES_SERVER

public static final int ES_SERVER
Error in the generic upper levels of the Perforce server.

See Also:
Constant Field Values

ES_CLIENT

public static final int ES_CLIENT
Error in the generic upper levels of the Perforce client (including P4Java).

See Also:
Constant Field Values

ES_INFO

public static final int ES_INFO
Pseudo subsystem for information messages.

See Also:
Constant Field Values

ES_HELP

public static final int ES_HELP
Pseudo subsystem for help messages.

See Also:
Constant Field Values

ES_SPEC

public static final int ES_SPEC
Pseudo subsystem for spec / comment messages.

See Also:
Constant Field Values

ES_FTPD

public static final int ES_FTPD
Error occurred in the P4FTP server.

See Also:
Constant Field Values

ES_BROKER

public static final int ES_BROKER
Error occurred in the Perforce broker.

See Also:
Constant Field Values
Constructor Detail

MessageSubsystemCode

public MessageSubsystemCode()


Copyright © 2015 Perforce Software. All Rights Reserved.