Package com.perforce.p4java.exception
Class MessageSeverityCode
java.lang.Object
com.perforce.p4java.exception.MessageSeverityCode
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
FieldsModifier and TypeFieldDescriptionstatic final intNo severity code has been set.static final intA failure caused by user error (a "normal" error).static final intA 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 intInformation only -- not an error in the traditional sense.static final intA warning message -- probably worth investigating, but not an actual error. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
E_EMPTY
public static final int E_EMPTYNo severity code has been set.- See Also:
-
E_INFO
public static final int E_INFOInformation only -- not an error in the traditional sense.- See Also:
-
E_WARN
public static final int E_WARNA warning message -- probably worth investigating, but not an actual error.- See Also:
-
E_FAILED
public static final int E_FAILEDA failure caused by user error (a "normal" error).- See Also:
-
E_FATAL
public static final int E_FATALA 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()
-