Class GlobalExceptionMapper

java.lang.Object
org.apache.ofbiz.ws.rs.spi.AbstractExceptionMapper
org.apache.ofbiz.ws.rs.spi.impl.GlobalExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<Throwable>

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

    • GlobalExceptionMapper

      public GlobalExceptionMapper()
  • Method Details

    • toResponse

      public javax.ws.rs.core.Response toResponse(Throwable throwable)
      To response response.
      Specified by:
      toResponse in interface javax.ws.rs.ext.ExceptionMapper<Throwable>
      Parameters:
      throwable - the throwable
      Returns:
      the response