Class JSONResponse.ExceptionMapper

java.lang.Object
org.openhab.core.io.rest.JSONResponse.ExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<Exception>
Enclosing class:
JSONResponse

public static class JSONResponse.ExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<Exception>
trap exceptions
Author:
Joerg Plewe
  • Constructor Details

    • ExceptionMapper

      public ExceptionMapper()
  • Method Details

    • toResponse

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