polish
This commit is contained in:
@@ -1,16 +1,14 @@
|
||||
package org.springframework.webflow.engine;
|
||||
|
||||
import org.springframework.binding.mapping.MappingResults;
|
||||
import org.springframework.core.style.StylerUtils;
|
||||
|
||||
public class FlowInputMappingException extends FlowAttributeMappingException {
|
||||
public FlowInputMappingException(String flowId, MappingResults results) {
|
||||
super(flowId, null, results, "Errors occured during flow input mapping; errors = "
|
||||
+ StylerUtils.style(results.getErrorResults()));
|
||||
super(flowId, null, results, "Errors occured during flow input mapping; errors = " + results.getErrorResults());
|
||||
}
|
||||
|
||||
public FlowInputMappingException(String flowId, String stateId, MappingResults results) {
|
||||
super(flowId, stateId, results, "Errors occured during flow input mapping; errors = "
|
||||
+ StylerUtils.style(results.getErrorResults()));
|
||||
+ results.getErrorResults());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
package org.springframework.webflow.engine;
|
||||
|
||||
import org.springframework.binding.mapping.MappingResults;
|
||||
import org.springframework.core.style.StylerUtils;
|
||||
|
||||
public class FlowOutputMappingException extends FlowAttributeMappingException {
|
||||
public FlowOutputMappingException(String flowId, MappingResults results) {
|
||||
@@ -10,6 +9,6 @@ public class FlowOutputMappingException extends FlowAttributeMappingException {
|
||||
|
||||
public FlowOutputMappingException(String flowId, String stateId, MappingResults results) {
|
||||
super(flowId, stateId, results, "Errors occured during flow output mapping; errors = "
|
||||
+ StylerUtils.style(results.getErrorResults()));
|
||||
+ results.getErrorResults());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user