Exception causes, causedBy, causeMatches functions.