private void failIf(bool condition, string message, SequencerExceptionType type) { if (condition) { throw new SequencerException(message, type); } }
/// 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; }