Class WebEngineExceptionMapper

  • All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<Throwable>

    @Provider
    public class WebEngineExceptionMapper
    extends Object
    implements javax.ws.rs.ext.ExceptionMapper<Throwable>
    Author:
    Bogdan Stefanescu
    • Constructor Detail

      • WebEngineExceptionMapper

        public WebEngineExceptionMapper()
    • Method Detail

      • toResponse

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

        protected static int getStatusCode​(Throwable t)
      • handleErrorOnWebModule

        protected static Object handleErrorOnWebModule​(Throwable t)