com.liferay.segments.exception.RequiredSegmentsExperienceException Maven / Gradle / Ivy
The newest version!
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.segments.exception;
import com.liferay.portal.kernel.exception.PortalException;
/**
* @author Eduardo García
*/
public class RequiredSegmentsExperienceException extends PortalException {
public static class
MustNotDeleteSegmentsExperienceReferencedBySegmentsExperiments
extends RequiredSegmentsExperienceException {
public MustNotDeleteSegmentsExperienceReferencedBySegmentsExperiments(
long segmentsExperienceId) {
super(
String.format(
"Segments experience %s cannot be deleted because it is " +
"referenced by one or more segments experiments",
segmentsExperienceId));
}
}
private RequiredSegmentsExperienceException(String msg) {
super(msg);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy