Exception ordering and handling