In a security context, the proper detection and handling of exceptional conditions serves
as a protection mechanism by checking and enforcing properties of resources and
behaviors.
Techniques for exceptional conditions vary widely, such as: