Package ru.i_novus.ms.rdm.api.provider
Class NotFoundExceptionMapper
java.lang.Object
ru.i_novus.ms.rdm.api.provider.NotFoundExceptionMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<NotFoundException>,net.n2oapp.platform.jaxrs.RestExceptionMapper<NotFoundException>
@Provider public class NotFoundExceptionMapper extends java.lang.Object implements net.n2oapp.platform.jaxrs.RestExceptionMapper<NotFoundException>
-
Constructor Summary
Constructors Constructor Description NotFoundExceptionMapper(net.n2oapp.platform.i18n.Messages messages) -
Method Summary
Modifier and Type Method Description javax.ws.rs.core.Response.StatusgetStatus()net.n2oapp.platform.jaxrs.RestMessagetoMessage(NotFoundException exception)
-
Constructor Details
-
NotFoundExceptionMapper
public NotFoundExceptionMapper(net.n2oapp.platform.i18n.Messages messages)
-
-
Method Details
-
toMessage
- Specified by:
toMessagein interfacenet.n2oapp.platform.jaxrs.RestExceptionMapper<NotFoundException>
-
getStatus
public javax.ws.rs.core.Response.Status getStatus()- Specified by:
getStatusin interfacenet.n2oapp.platform.jaxrs.RestExceptionMapper<NotFoundException>
-