Whoever violates any provision of this chapter is guilty of a misdemeanor of the third degree for a first offense. For a second or subsequent offense under the provisions of this chapter, such person is guilty of a misdemeanor of the first degree. In addition to any such fine or imprisonment, any violation of a provision of this chapter shall be sufficient grounds for the revocation of any license authorized hereunder.