Class RedisException


public class RedisException extends IOException
An error reply from a Redis server -- WRONGTYPE, NOSCRIPT, NOAUTH and the like. The connection it arrived on is still usable.
  • Constructor Details

    • RedisException

      public RedisException(String message)
      An error with the server's text, whose first word is its code.
  • Method Details

    • getCode

      public String getCode()
      The error's code: the first word of the server's text (WRONGTYPE, NOSCRIPT, BUSYGROUP, ...).