Except as otherwise provided in this subtitle, a person convicted of a violation of this subtitle is subject to imprisonment not exceeding 6 months or a fine not exceeding $500 or both.