using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.Common
{
    public class ServerException : Exception
    {
        public int ret { get; private set; }

        public int msg { get; private set; }

        public ServerException(int message)
        {
            msg = message;
            ret = 0;
        }
    }

    public class ClientException : Exception
    {
        public int ret { get; private set; }

        public string msg { get; private set; }

        public ClientException(string message)
        {
            msg = message;
            ret = 0;
        }
    }
}
