Class MessageGenericCode

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

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Perforce server administrative action required.
    static final int
    Client-side program errors.
    static final int
    Communications error.
    static final int
    Client configuration inadequate.
    static final int
    Using a Perforce entity in the wrong context.
    static final int
    Perforce operation returned empty results.
    static final int
    Unexplained or unknown fault in a Perforce program or server.
    static final int
    Trying to do something prohibited by Perforce.
    static final int
    No code has been set yet, or no specific code is associated with this error.
    static final int
    Something needs to be corrected before this operation can succeed.
    static final int
    Perforce protections prevented this operation from succeeding.
    static final int
    Something passed to the Perforce server is too big.
    static final int
    The accessed or associated entity is unknown.
    static final int
    Perforce client or server too old to interact.
    static final int
    A usage error.
  • 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

    • 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:
    • EV_USAGE

      public static final int EV_USAGE
      A usage error.
      See Also:
    • EV_UNKNOWN

      public static final int EV_UNKNOWN
      The accessed or associated entity is unknown.
      See Also:
    • EV_CONTEXT

      public static final int EV_CONTEXT
      Using a Perforce entity in the wrong context.
      See Also:
    • EV_ILLEGAL

      public static final int EV_ILLEGAL
      Trying to do something prohibited by Perforce.
      See Also:
    • EV_NOTYET

      public static final int EV_NOTYET
      Something needs to be corrected before this operation can succeed.
      See Also:
    • EV_PROTECT

      public static final int EV_PROTECT
      Perforce protections prevented this operation from succeeding.
      See Also:
    • EV_EMPTY

      public static final int EV_EMPTY
      Perforce operation returned empty results.
      See Also:
    • EV_FAULT

      public static final int EV_FAULT
      Unexplained or unknown fault in a Perforce program or server.
      See Also:
    • EV_CLIENT

      public static final int EV_CLIENT
      Client-side program errors.
      See Also:
    • EV_ADMIN

      public static final int EV_ADMIN
      Perforce server administrative action required.
      See Also:
    • EV_CONFIG

      public static final int EV_CONFIG
      Client configuration inadequate.
      See Also:
    • EV_UPGRADE

      public static final int EV_UPGRADE
      Perforce client or server too old to interact.
      See Also:
    • EV_COMM

      public static final int EV_COMM
      Communications error.
      See Also:
    • EV_TOOBIG

      public static final int EV_TOOBIG
      Something passed to the Perforce server is too big.
      See Also:
  • Constructor Details

    • MessageGenericCode

      public MessageGenericCode()