Throw exception if input filter is not specified