Examples of RuleServiceException


Examples of org.alfresco.service.cmr.rule.RuleServiceException

      if (parameterMapping.isMandatory() && value == null) {
        /*
         * We throw RuleServiceException just as ParameterizedItemAbstractBase does when it encounters a missing
         * value for a mandatory property.
         */
        throw new RuleServiceException(String.format("Parameter '%s' is mandatory, but no value was given.",
            parameterMapping.getName()));
      }
      /* Single values for a multi-valued property are wrapped in an ArrayList automatically. */
      if (parameterMapping.isMultivalued() && (value instanceof Collection) == false) {
        value = new ArrayList<Serializable>(Arrays.asList(value));
View Full Code Here

Examples of org.jboss.internal.soa.esb.services.rules.RuleServiceException

            }
            return newEntryPointMap;
        }
        catch (final ObjectMappingException e)
        {
            throw new RuleServiceException("Exception while trying to extract the objects '" + entryPointMap + "' from the message", e);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.