All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.object.exception.ObjectEntryCountException Maven / Gradle / Ivy

There is a newer version: 93.0.0
Show 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.object.exception;

import com.liferay.portal.kernel.exception.PortalException;

import java.util.List;

/**
 * @author Marco Leo
 */
public class ObjectEntryCountException extends PortalException {

	public ObjectEntryCountException() {
	}

	public ObjectEntryCountException(
		List arguments, String message, String messageKey,
		String objectDefinitionLabel) {

		super(message);

		_arguments = arguments;
		_messageKey = messageKey;
		_objectDefinitionLabel = objectDefinitionLabel;
	}

	public ObjectEntryCountException(String message) {
		super(message);
	}

	public ObjectEntryCountException(String msg, Throwable throwable) {
		super(msg, throwable);
	}

	public ObjectEntryCountException(Throwable throwable) {
		super(throwable);
	}

	public List getArguments() {
		return _arguments;
	}

	public String getMessageKey() {
		return _messageKey;
	}

	public String getObjectDefinitionLabel() {
		return _objectDefinitionLabel;
	}

	private List _arguments;
	private String _messageKey;
	private String _objectDefinitionLabel;

}