Exemplo n.º 1
0
 public static SecurityExceptionClientHandler GetInstance()
 {
     if (_instance == null)
     {
         _instance = new SecurityExceptionClientHandler();
     }
     return(_instance);
 }
Exemplo n.º 2
0
        public override CompositeFillErrors Run(Exception ex)
        {
            SecurityExceptionClientHandler myex = (SecurityExceptionClientHandler)ex;

            return(new CompositeFillErrors()
            {
                Field = "general_errors", Message = ex.Message
            });
        }