Class RespErrorUtil

java.lang.Object
org.infinispan.server.resp.RespErrorUtil

public final class RespErrorUtil extends Object
  • Method Details

    • unauthorized

      public static void unauthorized(ByteBufPool allocator)
    • noSuchKey

      public static void noSuchKey(ByteBufPool allocatorToUse)
    • indexOutOfRange

      public static void indexOutOfRange(ByteBufPool allocatorToUse)
    • wrongType

      public static void wrongType(ByteBufPool allocatorToUse)
    • wrongArgumentNumber

      public static void wrongArgumentNumber(RespCommand command, ByteBufPool allocatorToUse)
    • unknownCommand

      public static void unknownCommand(ByteBufPool allocator)
    • mustBePositive

      public static void mustBePositive(ByteBufPool allocator)
    • mustBePositive

      public static void mustBePositive(ByteBufPool allocator, String argumentName)
    • syntaxError

      public static void syntaxError(ByteBufPool allocator)
    • wrongArgumentCount

      public static void wrongArgumentCount(RespCommand command, ByteBufPool allocator)
    • valueNotInteger

      public static void valueNotInteger(ByteBufPool allocator)
    • valueNotAValidFloat

      public static void valueNotAValidFloat(ByteBufPool allocator)
    • minOrMaxNotAValidFloat

      public static void minOrMaxNotAValidFloat(ByteBufPool allocator)
    • minOrMaxNotAValidStringRange

      public static void minOrMaxNotAValidStringRange(ByteBufPool allocator)
    • transactionAborted

      public static void transactionAborted(ByteBufPool allocatorToUse)
    • customError

      public static void customError(String message, ByteBufPool allocatorToUse)
    • handleException

      public static Consumer<ByteBufPool> handleException(Throwable t)
    • isWrongTypeError

      public static boolean isWrongTypeError(Throwable t)