Remove unnecessary try-catch.
OF codes are no longer in an enum.

Change-Id: I635565fb04d7439d2bf2bb761d8b39e02785ae48
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Merge "Remove unnecessary try-catch. OF codes are no longer in an enum."