Section 12. (a) Upon application of a party, the court shall vacate an award if:—
(1) the award was procured by corruption, fraud or other undue means;
(2) there was evident partiality by an arbitrator appointed as a neutral, or corruption in any of the arbitrators, or misconduct prejudicing the rights of any party;
(3) the arbitrators exceeded their powers;
(4) the arbitrators refused to postpone the hearing upon sufficient cause being shown therefor or refused to hear evidence material to the controversy or otherwise so conducted the hearing, contrary to the provisions of section five, as to prejudice substantially the rights of a party; or
(5) there was no arbitration agreement and the issue was not adversely determined in proceedings under section two and the party did not participate in the arbitration hearing without raising the objection; but the fact that the relief was such that it could not or would not be granted by a court of law or equity is not ground for vacating or refusing to confirm the award.
(b) An application under this section shall be made within thirty days after delivery of a copy of the award to the applicant, but, if such application is predicated upon corruption, fraud, or other undue means, it shall be made within thirty days after such grounds are known or should have been known.
(c) In vacating the award on grounds other than stated in clause (5) of paragraph (a) the court may order a rehearing before new arbitrators chosen as provided in the agreement, or in the absence thereof, by the court in accordance with section three, or if the award is vacated on grounds set forth in clauses (3) and (4) of paragraph (a) the court may order a rehearing before the arbitrators who made the award or their successors appointed in accordance with section three. The time within which the agreement requires the award to be made shall be applicable to the rehearing and shall commence from the date of the order.
(d) If the application to vacate an award is denied and no motion to modify or correct the award is pending, the court shall confirm the award.