com.liferay.portal.kernel.servlet.ServletResponseConstants.java Source code

Java tutorial

Introduction

Here is the source code for com.liferay.portal.kernel.servlet.ServletResponseConstants.java

Source

/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.liferay.portal.kernel.servlet;

/**
 * @author Brian Wing Shun Chan
 */
public interface ServletResponseConstants {

    public static final int SC_AUDIO_PREVIEW_DISABLED_EXCEPTION = 221;

    public static final int SC_DUPLICATE_FILE_EXCEPTION = 490;

    public static final int SC_FILE_ANTIVIRUS_EXCEPTION = 494;

    public static final int SC_FILE_CUSTOM_EXCEPTION = 499;

    public static final int SC_FILE_EXTENSION_EXCEPTION = 491;

    public static final int SC_FILE_NAME_EXCEPTION = 492;

    public static final int SC_FILE_SIZE_EXCEPTION = 493;

    public static final int SC_UPLOAD_REQUEST_SIZE_EXCEPTION = 495;

    public static final int SC_VIDEO_PREVIEW_DISABLED_EXCEPTION = 220;

}