handle Path exceptions