Beispiel #1
0
 public virtual object Suspend()
 {
     if (this.CanSuspend)
     {
         throw EX.Create(EXCode.EncoderFeatureNotImplemented, "Suspend");
     }
     else
     {
         throw new NotSupportedException();
     }
 }
Beispiel #2
0
 internal static Exception Create(EXCode code, params object[] data)
 {
     return(EX.Create(code, null, data));
 }
Beispiel #3
0
 internal static Exception Create(EXCode code, object expected, object actual)
 {
     return(EX.Create(code, null, expected, actual));
 }