Exceptions to patentability include inventions contravening public order and decency, purely biological methods of growing plants or breeding animals, and methods of medical treatment of people and animals (the patent prohibition does not apply to some diagnostic methods). By law, inventions do not include discoveries, scientific theories, mathematical methods, rules and methods for performing mental acts, playing games and doing business, ideas, products of merely aesthetic character, and computer software.
Examples of solutions contravening public order and decency include all kinds of torture devices or a car anti-theft system using incapacitating gas or a stun gun.