Class MessageSubsystemCode

java.lang.Object
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

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Error occurred in the Perforce broker.
    static final int
    Error in the generic upper levels of the Perforce client (including P4Java).
    static final int
    Error in the server-side metadata database.
    static final int
    Error in the server-side metadata database support modules.
    static final int
    Error in the server-side data manager.
    static final int
    Error occurred in the P4FTP server.
    static final int
    Pseudo subsystem for help messages.
    static final int
    Pseudo subsystem for information messages.
    static final int
    Error in the server librarian module.
    static final int
    Operating system error (i.e., typically an error detected by the OS).
    static final int
    Error in the underlying Perforce transport protocol.
    static final int
    Error in the generic upper levels of the Perforce server.
    static final int
    Pseudo subsystem for spec / comment messages.
    static final int
    Error in miscellaneous support modules or apps.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ES_OS

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

      public static final int ES_SUPP
      Error in miscellaneous support modules or apps.
      See Also:
    • ES_LBR

      public static final int ES_LBR
      Error in the server librarian module.
      See Also:
    • ES_RPC

      public static final int ES_RPC
      Error in the underlying Perforce transport protocol.
      See Also:
    • ES_DB

      public static final int ES_DB
      Error in the server-side metadata database.
      See Also:
    • ES_DBSUPP

      public static final int ES_DBSUPP
      Error in the server-side metadata database support modules.
      See Also:
    • ES_DM

      public static final int ES_DM
      Error in the server-side data manager.
      See Also:
    • ES_SERVER

      public static final int ES_SERVER
      Error in the generic upper levels of the Perforce server.
      See Also:
    • ES_CLIENT

      public static final int ES_CLIENT
      Error in the generic upper levels of the Perforce client (including P4Java).
      See Also:
    • ES_INFO

      public static final int ES_INFO
      Pseudo subsystem for information messages.
      See Also:
    • ES_HELP

      public static final int ES_HELP
      Pseudo subsystem for help messages.
      See Also:
    • ES_SPEC

      public static final int ES_SPEC
      Pseudo subsystem for spec / comment messages.
      See Also:
    • ES_FTPD

      public static final int ES_FTPD
      Error occurred in the P4FTP server.
      See Also:
    • ES_BROKER

      public static final int ES_BROKER
      Error occurred in the Perforce broker.
      See Also:
  • Constructor Details

    • MessageSubsystemCode

      public MessageSubsystemCode()