<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def register_processor(self, processor):
 """ Register a new processor. Note that processors are called in the order that they are registered. """

        if not callable(processor):
            raise ValueError('Processor %s is not callable.' % processor.__class__.__name__)
        else:
            self.processors.append(processor)