Aditi.Scheduler.SchedulerModelValidationException.SchedulerModelValidationException C# (CSharp) Method

SchedulerModelValidationException() public method

public SchedulerModelValidationException ( string response ) : System
response string
return System
        public SchedulerModelValidationException(string response)
        {
            if (string.IsNullOrEmpty(response))
                return;

            object responseData = JsonObject.Parse(response);
            ExceptionMessage = ((Dictionary<string, string>)responseData).ContainsKey(SchedulerConstants.ErrorMessage) ? (((Dictionary<string, string>)responseData)[SchedulerConstants.ErrorMessage]) : response;

            if (((Dictionary<string, string>)responseData).ContainsKey(SchedulerConstants.Modelstate))
            {
                ValidationErrors(((Dictionary<string, string>)responseData)[SchedulerConstants.Modelstate]);
            }
        }

Same methods

SchedulerModelValidationException::SchedulerModelValidationException ( string message, WebException we ) : System