I guess it depends how serious a matter it was and when it took place
Here is the CIC link, but it does not talk about transiting.
http://www.cic.gc.ca/english/visit/inadmissibility.html
You may wish to contact the closest Canadian consular office for the definitive answer