
com.perforce.p4java.exception.MessageSeverityCode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of p4java Show documentation
Show all versions of p4java Show documentation
P4Java, the Perforce Java API is a Java-native API for accessing Perforce SCM services from
within Java applications, servlets, plug-ins, and other Java contexts.
The newest version!
/*
* 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;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy