view gnv/src/main/java/de/intevation/gnv/action/CommunicationKeys.java @ 1022:28a0628b11b0

Added license file and license header. gnv/trunk@1258 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 02 Nov 2010 17:15:08 +0000
parents 33198e55371c
children
line wrap: on
line source
/*
 * Copyright (c) 2010 by Intevation GmbH
 *
 * This program is free software under the LGPL (>=v2.1)
 * Read the file LGPL.txt coming with the software for details
 * or visit http://www.gnu.org/licenses/ if it does not exist.
 */

package de.intevation.gnv.action;

/**
 * This class defines some keys used to store different exception types in the
 * session.
 *
 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a>
 */
public class CommunicationKeys {
    /**
     * The Key which should be used for accessing ExceptionMessages
     */
    public final static String REQUEST_EXCEPTION_MESSAGE_ID = "request_exception_message_id";


    public final static String REQUEST_EXCEPTION_SESSION_ID = "request_exception_session_id";

    /**
     * Key used to store exceptions relating to wrong user input.
     */
    public final static String REQUEST_EXCEPTION_INPUT_ID   = "request_exception_input_id";

    /**
     * Key used to store exceptions relating to more general errors occured in
     * the server.
     */
    public final static String REQUEST_EXCEPTION_MESSAGE    = "request_exception_message";

    /**
     * Key used to store exceptions relating to an invalid input format.
     */
    public final static String REQUEST_EXCEPTION_VALUE      = "request_exception_value";

    /**
     * Key used to store exceptions relating to a load/save project error.
     */
    public final static String REQUEST_EXCEPTION_PROJECT    = "request_exception_project";
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org