Beispiel #1
0
 public PadiException(System.Runtime.Serialization.SerializationInfo info,
                      System.Runtime.Serialization.StreamingContext context)
     : base(info, context)
 {
     Description = info.GetString("Description");
     Cause       = (PadiExceptiontType)info.GetValue("Cause", typeof(PadiExceptiontType));
 }
Beispiel #2
0
 public PadiException(PadiExceptiontType cause, String description)
 {
     this.Cause       = cause;
     this.Description = description;
 }