polish
This commit is contained in:
@@ -4,11 +4,12 @@ import org.springframework.binding.mapping.MappingResults;
|
||||
|
||||
public class FlowInputMappingException extends FlowAttributeMappingException {
|
||||
public FlowInputMappingException(String flowId, MappingResults results) {
|
||||
super(flowId, null, results, "Errors occured during flow input mapping; errors = " + results.getErrorResults());
|
||||
super(flowId, null, results, "Errors occurred during input mapping on startup of the '" + flowId
|
||||
+ "' flow; errors = " + results.getErrorResults());
|
||||
}
|
||||
|
||||
public FlowInputMappingException(String flowId, String stateId, MappingResults results) {
|
||||
super(flowId, stateId, results, "Errors occured during flow input mapping; errors = "
|
||||
+ results.getErrorResults());
|
||||
super(flowId, stateId, results, "Errors occurred during input mapping in state '" + stateId + "' of flow '"
|
||||
+ flowId + "'; errors = " + results.getErrorResults());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,11 +4,12 @@ import org.springframework.binding.mapping.MappingResults;
|
||||
|
||||
public class FlowOutputMappingException extends FlowAttributeMappingException {
|
||||
public FlowOutputMappingException(String flowId, MappingResults results) {
|
||||
this(flowId, null, results);
|
||||
super(flowId, null, results, "Errors occurred during output mapping on ending of the '" + flowId
|
||||
+ "' flow; errors = " + results.getErrorResults());
|
||||
}
|
||||
|
||||
public FlowOutputMappingException(String flowId, String stateId, MappingResults results) {
|
||||
super(flowId, stateId, results, "Errors occured during flow output mapping; errors = "
|
||||
+ results.getErrorResults());
|
||||
super(flowId, stateId, results, "Errors occurred during output mapping in state '" + stateId + "' of flow '"
|
||||
+ flowId + "'; errors = " + results.getErrorResults());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user