@Override public void processError(String message) { if (isCommandLineInvocation) { processingEnv.getMessager().printMessage(Diagnostic.Kind.ERROR, message); throw new AbortException(); } else { throw new ModelerException(message); } }
@Override public void pollAbort() throws AbortException { if (listener.isCanceled()) throw new AbortException(); }
@Override public void pollAbort() throws AbortException { if (listener.isCanceled()) throw new AbortException(); }
@Override public void processError(String message) { if (isCommandLineInvocation) { processingEnv.getMessager().printMessage(Diagnostic.Kind.ERROR, message); throw new AbortException(); } else { throw new ModelerException(message); } }
@Override public void processError(String message) { if (isCommandLineInvocation) { processingEnv.getMessager().printMessage(Diagnostic.Kind.ERROR, message); throw new AbortException(); } else { throw new ModelerException(message); } }
protected void error(Entity entity, String message){ if (entity == null) { errReceiver.error(null, message); } else { errReceiver.error(entity.getLocator(), message); } throw new AbortException(); }
public GloballyKnown find(Kind k, QName name) { Map map = getMap(k); Object result = map.get(name); if (result == null){ errReceiver.error(null, WsdlMessages.ENTITY_NOT_FOUND_BY_Q_NAME(k.getName(), name, _systemId)); throw new AbortException(); } return (GloballyKnown) result; }
public void validateThis() { if (_message == null) { errorReceiver.error(getLocator(), WsdlMessages.VALIDATION_MISSING_REQUIRED_ATTRIBUTE("name", "wsdl:message")); throw new AbortException(); } }
@Override public void pollAbort() throws AbortException { if (listener.isCanceled()) { throw new AbortException(); } }
protected void error(Entity entity, String message){ if (entity == null) { errReceiver.error(null, message); } else { errReceiver.error(entity.getLocator(), message); } throw new AbortException(); }
public void validateThis() { if (_message == null) { errorReceiver.error(getLocator(), WsdlMessages.VALIDATION_MISSING_REQUIRED_ATTRIBUTE("name", "wsdl:message")); throw new AbortException(); } }
public void validateThis() { if (_message == null) { errorReceiver.error(getLocator(), WsdlMessages.VALIDATION_MISSING_REQUIRED_ATTRIBUTE("name", "wsdl:message")); throw new AbortException(); } }
public GloballyKnown find(Kind k, QName name) { Map map = getMap(k); Object result = map.get(name); if (result == null){ errReceiver.error(null, WsdlMessages.ENTITY_NOT_FOUND_BY_Q_NAME(k.getName(), name, _systemId)); throw new AbortException(); } return (GloballyKnown) result; }
protected void error(Entity entity, String message){ if (entity == null) { errReceiver.error(null, message); } else { errReceiver.error(entity.getLocator(), message); } throw new AbortException(); }
public GloballyKnown find(Kind k, QName name) { Map map = getMap(k); Object result = map.get(name); if (result == null){ errReceiver.error(null, WsdlMessages.ENTITY_NOT_FOUND_BY_Q_NAME(k.getName(), name, _systemId)); throw new AbortException(); } return (GloballyKnown) result; }
protected void error(Entity entity, String message){ if (entity == null) { errReceiver.error(null, message); } else { errReceiver.error(entity.getLocator(), message); } throw new AbortException(); }
public void validateThis() { if (getName() == null) { errorReceiver.error(getLocator(), WsdlMessages.VALIDATION_MISSING_REQUIRED_ATTRIBUTE("name", "wsdl:message")); throw new AbortException(); } }
public void validateThis() { if (getName() == null) { errorReceiver.error(getLocator(), WsdlMessages.VALIDATION_MISSING_REQUIRED_ATTRIBUTE("name", "wsdl:message")); throw new AbortException(); } }
public void validateThis() { if (getName() == null) { errorReceiver.error(getLocator(), WsdlMessages.VALIDATION_MISSING_REQUIRED_ATTRIBUTE("name", "wsdl:message")); throw new AbortException(); } }
public Binding resolveBinding(AbstractDocument document) { try{ return (Binding) document.find(Kinds.BINDING, _binding); } catch (NoSuchEntityException e) { errorReceiver.error(getLocator(), WsdlMessages.ENTITY_NOT_FOUND_BINDING(_binding, new QName(getNamespaceURI(), getName()))); throw new AbortException(); } }