attempting to steal is a crime as well so regardless of whether you were not successful in actually stealing something or not, you broke the law. In may states, just the act of hiding the merchandise on your person is more than adequate to be charged with theft.
as to the age; only if they are allowing this to remain in juvenile court because of your age. Other than that, you are playing with the big boys and subject to whatever penalty the law allows. It would seem that you have a penchant for stealing so if jail is a possibility (most likely is) I would not be surprised to hear the judge does order some sort of jail time. You are really showing yourself to be on the wrong track, especially at the age of 17.

