Using a marker interface to designate cancelled exceptions