No conduct constitutes an offense unless it is described as an offense in this Code or in another statute of this State. However, this provision does not affect the power of a court to punish for contempt or to employ any sanction authorized by law for the enforcement of an order or civil judgment.
720 ILCS 5/1-3