
com.liferay.object.rest.internal.jaxrs.exception.mapper.ObjectEntryManagerHttpExceptionMapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.object.rest.impl
Show all versions of com.liferay.object.rest.impl
Liferay Object REST Implementation
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.object.rest.internal.jaxrs.exception.mapper;
import com.liferay.object.rest.manager.exception.ObjectEntryManagerHttpException;
import com.liferay.portal.vulcan.jaxrs.exception.mapper.BaseExceptionMapper;
import com.liferay.portal.vulcan.jaxrs.exception.mapper.Problem;
import jakarta.ws.rs.ext.Provider;
/**
* @author Guilherme Camacho
*/
@Provider
public class ObjectEntryManagerHttpExceptionMapper
extends BaseExceptionMapper {
@Override
protected Problem getProblem(
ObjectEntryManagerHttpException objectEntryManagerHttpException) {
return new Problem(objectEntryManagerHttpException);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy