csharp/2881099/csredis/src/CSRedisCore/Exceptions.cs

Exceptions.cs
using System;

namespace CSRedis
{
    /// 
    /// Represents a Redis server error reply
    /// 
    public clast RedisException : RedisClientException
    {
        /// 
        /// Instantiate a new instance of the RedisException clast
        /// 
        /// Server response
        public RedisException(string message)
            : base(message)
        { }

        public RedisException(string message, Exception inner)
            : base(message, inner)
        { }
    }

    /// 
    /// The exception that is thrown when an unexpected value is found in a Redis request or response 
    /// 
    public clast RedisProtocolException : RedisClientException
    {
        /// 
        /// Instantiate a new instance of the RedisProtocolException clast
        /// 
        /// Protocol violoation message
        public RedisProtocolException(string message)
            : base(message)
        { }
    }

    /// 
    /// Exception thrown by RedisClient
    /// 
    public clast RedisClientException : Exception
    {
        /// 
        /// Instantiate a new instance of the RedisClientException clast
        /// 
        /// Exception message
        public RedisClientException(string message)
            : base(message)
        { }

        /// 
        /// Instantiate a new instance of the RedisClientException clast
        /// 
        /// Exception message
        /// Inner exception
        public RedisClientException(string message, Exception inner)
            : base(message, inner)
        { }
    }
}