Package org.apache.unomi.rest.exception
Class RuntimeExceptionMapper
- java.lang.Object
-
- org.apache.unomi.rest.exception.RuntimeExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<RuntimeException>
@Provider public class RuntimeExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<RuntimeException>
-
-
Constructor Summary
Constructors Constructor Description RuntimeExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(RuntimeException exception)
-
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(RuntimeException exception)
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<RuntimeException>
-
-