throw some exception if an other type is read or forward it to the next handler