throw exception if user try to convert numbers other than 1 or 0 to BooleanWritable