Package com.sworddance.util

Examples of com.sworddance.util.ApplicationIllegalStateException


            ApplicationIllegalArgumentException.valid(expected == null || expected.isAssignableFrom(flowPropertyProvider.getClass()),
                this,": expected a ", expected, " but got a ", flowPropertyProvider.getClass());
            try {
                value = propertyValueProvider.get(flowPropertyProvider, this);
            } catch(Exception e) {
                throw new ApplicationIllegalStateException(this+": PropertyValueProvider threw an exception. propertyValueProvider="+propertyValueProvider, e);
            }
        } else {
            // TODO -- may still want to call this if flowPropertyValueProvider returns null.
            // for example the property type is a primitive.
            value = this.getDataClassDefinition().getFlowTranslator().getDefaultObject(flowPropertyProvider);
View Full Code Here


        }
        try {
            FlowState flowState = getFlowManagement().startFlowState(getFlowTypeName(), true, launchMap, getReturnToFlow());
            return flowState;
        } catch(Exception e) {
            throw new ApplicationIllegalStateException("While trying to start flow="+getFlowTypeName()+"; launchMap="+launchMap, e);
        }
    }
View Full Code Here

TOP

Related Classes of com.sworddance.util.ApplicationIllegalStateException

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.