Class MessageSeverityCode

java.lang.Object
com.perforce.p4java.exception.MessageSeverityCode

public class MessageSeverityCode extends Object
Defines known Perforce error severity codes. These are basically self-explanatory, and are usually made available through the RequestException class. Not all such exceptions contain meaningful severity codes, so always treat E_EMPTY as meaning "not set" rather than "not a severe error" (or whatever).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    No severity code has been set.
    static final int
    A failure caused by user error (a "normal" error).
    static final int
    A fatal error caused by a problem in the Perforce system; this almost always means nothing else will work properly from this point on, and you should abandon further processing.
    static final int
    Information only -- not an error in the traditional sense.
    static final int
    A warning message -- probably worth investigating, but not an actual 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

    • E_EMPTY

      public static final int E_EMPTY
      No severity code has been set.
      See Also:
    • E_INFO

      public static final int E_INFO
      Information only -- not an error in the traditional sense.
      See Also:
    • E_WARN

      public static final int E_WARN
      A warning message -- probably worth investigating, but not an actual error.
      See Also:
    • E_FAILED

      public static final int E_FAILED
      A failure caused by user error (a "normal" error).
      See Also:
    • E_FATAL

      public static final int E_FATAL
      A fatal error caused by a problem in the Perforce system; this almost always means nothing else will work properly from this point on, and you should abandon further processing.
      See Also:
  • Constructor Details

    • MessageSeverityCode

      public MessageSeverityCode()