Class RespCommandException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.infinispan.server.resp.exception.RespCommandException
All Implemented Interfaces:
Serializable

public final class RespCommandException extends RuntimeException
Represent a command failure.

This exception holds the error message for the command and represents the command failure. It does not collect the stack trace. This is useful when the command failed and has an expected error message. For example, passing something that is not a number to a command.

Since:
16.0
Author:
José Bolina
See Also:
  • Constructor Details

    • RespCommandException

      public RespCommandException(String message)