Often, contingent punishments are handed down on a management-by-exception basis, in which the exception is something going wrong.
Often, contingent punishments are imposed under an exception basis, where the exception is something going awry.