Skip to content

Commit

Permalink
Fixed exception handling in AbstractValueTransformationExpressionEval…
Browse files Browse the repository at this point in the history
…uator.
  • Loading branch information
mederly committed Oct 25, 2017
1 parent dbcf8f1 commit d3b0587
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -442,13 +442,13 @@ private PrismValueDeltaSetTriple<V> evaluateRelativeExpression(final List<Source
throw (ObjectNotFoundException)originalException;
} else if (originalException instanceof SchemaException) {
throw (SchemaException)originalException;
} else if (originalException instanceof RuntimeException) {
throw (CommunicationException)originalException;
} else if (originalException instanceof CommunicationException) {
throw (ConfigurationException)originalException;
throw (CommunicationException)originalException;
} else if (originalException instanceof ConfigurationException) {
throw (SecurityViolationException)originalException;
throw (ConfigurationException)originalException;
} else if (originalException instanceof SecurityViolationException) {
throw (SecurityViolationException)originalException;
} else if (originalException instanceof RuntimeException) {
throw (RuntimeException)originalException;
} else {
throw new IllegalStateException("Unexpected exception: "+e+": "+e.getMessage(),e);
Expand Down

0 comments on commit d3b0587

Please sign in to comment.