Ejemplo n.º 1
0
 private void failIf(bool condition, string message, SequencerExceptionType type)
 {
     if (condition)
     {
         throw new SequencerException(message, type);
     }
 }
Ejemplo n.º 2
0
 /// Constructs a SequencerException with a message and SequencerExceptionType
 public SequencerException(string message, SequencerExceptionType exceptionType) : base(message)
 {
     type = exceptionType;
 }
Ejemplo n.º 3
0
 /// Constructs a SequencerException with a message and SequencerExceptionType
 public SequencerException(string message, SequencerExceptionType exceptionType)
     : base(message)
 {
     type = exceptionType;
 }