If a person discloses information relating to any trade secret used in carrying on a particular undertaking and the information has been given to him or obtained by him by virtue of this Act he shall, subject to the following subsection, be guilty of an offence and liable on summary conviction to a fine not exceeding level 5 on the standard scale.
A person shall not be guilty of an offence under the preceding subsection by virtue of the disclosure of any information if—
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .