Class AbstractExceptionMapper

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected javax.ws.rs.core.Response errorResponse​(int status, Error responseEntity)  
      protected javax.ws.rs.core.Response errorResponse​(int status, Error responseEntity, java.lang.Throwable t)  
      protected javax.ws.rs.core.Response.StatusType getStatusType​(java.lang.Throwable ex)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractExceptionMapper

        public AbstractExceptionMapper()
    • Method Detail

      • errorResponse

        protected javax.ws.rs.core.Response errorResponse​(int status,
                                                          Error responseEntity)
        Parameters:
        status -
        responseEntity -
        Returns:
      • errorResponse

        protected javax.ws.rs.core.Response errorResponse​(int status,
                                                          Error responseEntity,
                                                          java.lang.Throwable t)
        Parameters:
        status -
        responseEntity -
        t -
        Returns:
      • getStatusType

        protected javax.ws.rs.core.Response.StatusType getStatusType​(java.lang.Throwable ex)
        Parameters:
        ex -
        Returns: