condition of probation upon conviction of either a felony or a misdemeanor, or upon commitment for civil contempt, or upon default in the payment of a fine upon conviction of either a felony or a misdemeanor, or for any reason except upon conviction of more than one offense when consecutive sentences have been imposed, be committed for a period in excess of one year; provided, however, that the t