One of the patterns in GangOfFour. See ChainOfResponsibilityPattern.