Class MessageSeverityCode


  • public class MessageSeverityCode
    extends java.lang.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 int E_EMPTY
      No severity code has been set.
      static int E_FAILED
      A failure caused by user error (a "normal" error).
      static 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.
      static int E_INFO
      Information only -- not an error in the traditional sense.
      static int E_WARN
      A warning message -- probably worth investigating, but not an actual error.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • E_EMPTY

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

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

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

        public static final int E_FAILED
        A failure caused by user error (a "normal" error).
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
    • Constructor Detail

      • MessageSeverityCode

        public MessageSeverityCode()