Class RestResponseException

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      InfinispanResponse toResponse​(InfinispanRequest request)
      Creates Netty response based on error.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

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

      • RestResponseException

        public RestResponseException​(io.netty.handler.codec.http.HttpResponseStatus status,
                                     java.lang.String text)
        Parameters:
        status - Status code returned to the client.
        text - Text returned to the client.
      • RestResponseException

        public RestResponseException​(io.netty.handler.codec.http.HttpResponseStatus status,
                                     java.lang.String text,
                                     java.lang.Throwable t)
        Parameters:
        status - Status code returned to the client.
        text - Text returned to the client.
        t - Throwable instance.