Some people are exempt from prosecution under California's CCW law.  These include (but are not limited to): peace officers (whether active or honorably retired), licensed firearms dealers, members of the U.S. military, bank guards or messengers, members of target shooting clubs or organizations, and licensed hunters/fishers who are using or transporting their weapons for these activities. And even the above exceptions contain conditions... such as that the gun: be unloaded, or be used only during certain activities.