The second isn't very natural. Most cities don't have laws against people being being spotted doing something by the police. The first is definitely more natural, though in the UK, we refer to "dropping litter", not "throwing" it. The verb "to litter" also exists.
On a sign in a British park or street, you might see:
Fine for littering - £100.
- For Teachers