add an else block with a WARN log message saying that you got something from class Bleh and you'll do nothing with it