Class RuntimeExceptionMapper
- java.lang.Object
-
- org.sdase.commons.server.jackson.errors.RuntimeExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<java.lang.RuntimeException>
public class RuntimeExceptionMapper extends java.lang.Object implements javax.ws.rs.ext.ExceptionMapper<java.lang.RuntimeException>
Exception Mapper forRuntimeException
that should be used as last resort to avoid default error messages.
-
-
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(java.lang.RuntimeException e)
-