Exemplo n.º 1
0
 public override void GetObjectData(SerializationInfo info, StreamingContext context)
 {
     Problem = (UserInputProblem)info.GetValue("Problem", typeof(UserInputProblem));
     base.GetObjectData(info, context);
 }
Exemplo n.º 2
0
 ///<summary>Creates a UserInputException for a specific problem.</summary>
 public UserInputException(UserInputProblem problem, Exception innerException) : this(problem.ToString(), innerException)
 {
     Problem = problem;
 }
Exemplo n.º 3
0
 ///<summary>Creates a UserInputException for a specific problem.</summary>
 public UserInputException(UserInputProblem problem) : this(problem.ToString())
 {
     Problem = problem;
 }
Exemplo n.º 4
0
 public override void GetObjectData(SerializationInfo info, StreamingContext context)
 {
     Problem = (UserInputProblem)info.GetValue("Problem", typeof(UserInputProblem));
     base.GetObjectData(info, context);
 }
Exemplo n.º 5
0
 ///<summary>Creates a UserInputException for a specific problem.</summary>
 public UserInputException(UserInputProblem problem, Exception innerException)
     : this(problem.ToString(), innerException)
 {
     Problem = problem;
 }
Exemplo n.º 6
0
 ///<summary>Creates a UserInputException for a specific problem.</summary>
 public UserInputException(UserInputProblem problem)
     : this(problem.ToString())
 {
     Problem = problem;
 }