Throw error in Integer & Buffer conversion.