/* * Copyright 2001-2008 Geert Bevin (gbevin[remove] at uwyn dot com) * Licensed under the Apache License, Version 2.0 (the "License") * $Id: ParameterRegexpGlobalCookieConflictException.java 3918 2008-04-14 17:35:35Z gbevin $ */ package com.uwyn.rife.engine.exceptions; public class ParameterRegexpGlobalCookieConflictException extends DeclarationConflictException { private static final long serialVersionUID = -7627218931202992482L; private String mSubmissionName = null; private String mGlobalCookieName = null; public ParameterRegexpGlobalCookieConflictException(String declarationName, String conflictName, String submissionName, String globalCookieName) { super("The regexp parameter '"+conflictName+"' in submission '"+submissionName+"' of element '"+declarationName+"' conflicts with the existing global cookie '"+globalCookieName+"'.", declarationName, conflictName); mSubmissionName = submissionName; mGlobalCookieName = globalCookieName; } public String getSubmissionName() { return mSubmissionName; } public String getGlobalCookieName() { return mGlobalCookieName; } }