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