public void Consume(NumberMessage message) { if (message.Value > 100) { throw new ArithmeticException("Too big for me!"); } _cache.Register(message.Value); }