throw new IllegalArgumentException("The URI instance " + curi.getInstance() + " does not exist in the given component configuration");
}
if (curi.hasEndpoint()) {
switch (curi.getEndpoint()) {
case ContextUri.ENDPOINT_IN:
InputContext input = instance.input();
if (curi.hasPort()) {
InputPortContext inPort = input.port(curi.getPort());
if (inPort == null) {
throw new IllegalArgumentException("The URI port " + curi.getPort() + " does not exist in the given input configuration");
}