/* * Copyright 2009 Perforce Software Inc., All Rights Reserved. */ package com.perforce.p4java.exception; /** * 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). * * */ public class MessageSeverityCode { /** * No severity code has been set. */ public static final int E_EMPTY = 0; /** * Information only -- not an error in the traditional sense. */ public static final int E_INFO = 1; /** * A warning message -- probably worth investigating, but not an actual error. */ public static final int E_WARN = 2; /** * A failure caused by user error (a "normal" error). */ public static final int E_FAILED = 3; /** * 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. */ public static final int E_FATAL = 4; }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 19903 | stuartrowe |
Branching //guest/perforce_software/p4java/... to //guest/stuartrowe/p4java/... |
||
//guest/perforce_software/p4java/r14.1/src/main/java/com/perforce/p4java/exception/MessageSeverityCode.java | |||||
#1 | 12541 | Matt Attaway | Initial add of the 14.1 p4java source code |