Package org.eobjects.analyzer.job.builder

Examples of org.eobjects.analyzer.job.builder.UnconfiguredConfiguredPropertyException


      if (propertyWidget.isSet()) {
        Object value = propertyWidget.getValue();
        setConfiguredProperty(propertyDescriptor, value);
      } else {
        if (errorAware && propertyDescriptor.isRequired()) {
          throw new UnconfiguredConfiguredPropertyException(_beanJobBuilder, propertyDescriptor);
        }
      }
    }
  }
View Full Code Here


        }
      } catch (Exception ex) {
        logger.debug("Job not correctly configured", ex);
        final String errorMessage;
        if (ex instanceof UnconfiguredConfiguredPropertyException) {
          UnconfiguredConfiguredPropertyException unconfiguredConfiguredPropertyException = (UnconfiguredConfiguredPropertyException) ex;
          ConfiguredPropertyDescriptor configuredProperty = unconfiguredConfiguredPropertyException
              .getConfiguredProperty();
          AbstractBeanJobBuilder<?, ?, ?> beanJobBuilder = unconfiguredConfiguredPropertyException
              .getBeanJobBuilder();
          errorMessage = "Property '" + configuredProperty.getName() + "' in "
              + LabelUtils.getLabel(beanJobBuilder) + " is not set!";
        } else {
          errorMessage = ex.getMessage();
View Full Code Here

TOP

Related Classes of org.eobjects.analyzer.job.builder.UnconfiguredConfiguredPropertyException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.