Class RuntimeExceptionMapper

java.lang.Object
de.aservo.confapi.commons.exception.mapper.RuntimeExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<RuntimeException>

@Provider public class RuntimeExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<RuntimeException>
  • Constructor Details

    • RuntimeExceptionMapper

      public RuntimeExceptionMapper()
  • Method Details

    • toResponse

      public javax.ws.rs.core.Response toResponse(RuntimeException e)
      Specified by:
      toResponse in interface javax.ws.rs.ext.ExceptionMapper<RuntimeException>