Class OmExceptionHandler
java.lang.Object
org.apache.openmeetings.webservice.util.OmExceptionHandler
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<org.apache.openmeetings.webservice.error.ServiceException>
public class OmExceptionHandler
extends Object
implements jakarta.ws.rs.ext.ExceptionMapper<org.apache.openmeetings.webservice.error.ServiceException>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
toResponse
(org.apache.openmeetings.webservice.error.ServiceException exception)
-
Constructor Details
-
OmExceptionHandler
public OmExceptionHandler()
-
-
Method Details
-
toResponse
public jakarta.ws.rs.core.Response toResponse(org.apache.openmeetings.webservice.error.ServiceException exception) - Specified by:
toResponse
in interfacejakarta.ws.rs.ext.ExceptionMapper<org.apache.openmeetings.webservice.error.ServiceException>
-