[OLINGO-936] Preserve Stacktrace

This commit is contained in:
Christian Amend 2016-04-28 14:02:51 +02:00
parent f18a489f97
commit 43feffc48f
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ public abstract class AbstractEdmBindingTarget extends AbstractEdmNamed implemen
bindingTarget = entityContainer.getSingleton(edmTarget.getTargetName());
if (bindingTarget == null) {
throw new EdmException("Cannot find Singleton " + edmTarget.getTargetName());
throw new EdmException("Cannot find Singleton " + edmTarget.getTargetName(), e);
}
} finally {
found = bindingTarget != null;