Class GenericExceptionMapper

java.lang.Object
i5.las2peer.restMapper.GenericExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<Throwable>

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

    • GenericExceptionMapper

      public GenericExceptionMapper()
  • Method Details

    • toResponse

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