(a) When the officers, directors or stockholders of any corporation are liable to pay the debts of the corporation, or any part thereof, any action to enforce such liability shall be a class action for the benefit of all creditors to which the corporation if in existence shall be a party.
(b) No suit shall be brought against any officer, director or stockholder for any debt or liability of a corporation, of which he is an officer, director or stockholder, until judgment be obtained therefor against the corporation, nor after three years from the date of such judgment and any such officer, director or stockholder may set up any defense which the corporation might have asserted against such debt or liability. The subsection does not apply to suits brought against officers or directors of a corporation in dissolution or liquidation for maladministration of their duties under subchapter X of this chapter.