Package org.amplafi.flow.validation

Examples of org.amplafi.flow.validation.FlowValidationException


                // call passivate even if just returning to the current
                // activity. but not if we are going back to a previous step
                flowValidationResult = this.passivate(verifyValues, flowStepDirection);
                if ( !flowValidationResult.isValid()) {
                    activateFlowActivity(getCurrentActivity(), FlowStepDirection.inPlace);
                    throw new FlowValidationException(getCurrentActivity(), flowValidationResult);
                }
            }
            this.setCurrentActivityIndex(next);

            currentActivity = getCurrentActivity();
View Full Code Here


        if ( flowTypeName == null) {
            throw new IllegalArgumentException("null flowTypeName");
        }
        FlowImplementor flow = this.getFlowDefinitions().get(flowTypeName);
        if (flow==null) {
            throw new FlowValidationException("flow.definition-not-found", new MissingRequiredTracking(flowTypeName));
        }
        return flow;
    }
View Full Code Here

        }
        String s = serializedObject.toString();
        try {
            return new Integer(s);
        } catch(NumberFormatException e) {
            throw new FlowValidationException(new InconsistencyTracking("cannot-be-parsed",
                    s, ": contains non-numerics"));
        }
    }
View Full Code Here

        }
        String s = serializedObject.toString();
        try {
            return new Short(s);
        } catch(NumberFormatException e) {
            throw new FlowValidationException(new InconsistencyTracking("cannot-be-parsed",
                    s,": contains non-numerics"));
        }
    }
View Full Code Here

        }
        String s = serializedObject.toString();
        try {
            return new Long(s);
        } catch(NumberFormatException e) {
            throw new FlowValidationException(new InconsistencyTracking("cannot-be-parsed",
                    s,": contains non-numerics"));
        }
    }
View Full Code Here

TOP

Related Classes of org.amplafi.flow.validation.FlowValidationException

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.