Added missing file. git-svn-id: https://svn.apache.org/repos/asf/ode/branches/extvar@594676 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bpel-api/src/main/java/org/apche/ode/bpel/evar/IncompleteKeyException.java b/bpel-api/src/main/java/org/apche/ode/bpel/evar/IncompleteKeyException.java new file mode 100644 index 0000000..b188d6f --- /dev/null +++ b/bpel-api/src/main/java/org/apche/ode/bpel/evar/IncompleteKeyException.java
@@ -0,0 +1,26 @@ +package org.apche.ode.bpel.evar; + +import java.util.Collection; + +/** + * Exception used to indicate that an attempt was made to access a variable using an incomplete key. + * + * @author Maciej Szefler <mszefler at gmail dot com> + * + */ +public class IncompleteKeyException extends ExternalVariableModuleException { + + private static final long serialVersionUID = 1L; + private Collection<String>_missing; + + public IncompleteKeyException(Collection<String> missing) { + super("Attempt to read external variable with an incomplete compoung key. " + + "The following components were missing: " + missing); + + _missing = missing; + } + + public Collection<String> getMissing() { + return _missing; + } +}