Skip to content

Commit

Permalink
Fixing error handling (which fixes problem with pointers to non-exist…
Browse files Browse the repository at this point in the history
…ent LDAP entitlements)
  • Loading branch information
semancik committed Sep 9, 2015
1 parent d8388a9 commit 9c3c253
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -1212,8 +1212,11 @@ private ConnectorObject fetchConnectorObject(ObjectClass icfObjectClass, Uid uid
throw (GenericFrameworkException) midpointEx;
} else if (midpointEx instanceof ConfigurationException) {
throw (ConfigurationException) midpointEx;
} else if (midpointEx instanceof SecurityViolationException){
} else if (midpointEx instanceof SecurityViolationException) {
throw (SecurityViolationException) midpointEx;
} else if (midpointEx instanceof ObjectNotFoundException) {
LOGGER.trace("Got ObjectNotFoundException while looking for resource object ConnId UID: {}", uid);
return null;
} else if (midpointEx instanceof RuntimeException) {
throw (RuntimeException)midpointEx;
} else if (midpointEx instanceof Error) {
Expand Down

0 comments on commit 9c3c253

Please sign in to comment.