Package org.apache.struts2.interceptor

# Interface ValidationErrorAware

public interface ValidationErrorAware
ValidationErrorAware classes can be notified about validation errors before `DefaultWorkflowInterceptor` will return 'inputResultName' result to allow change or not the result name This interface can be only applied to action which already implements `ValidationAware` interface!

Since:
  2.3.15

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `actionErrorOccurred(String currentResultName)`
  Allows to notify action about occurred action/field errors

- ## Method Details

  - ### actionErrorOccurred

    String actionErrorOccurred(String currentResultName)
    Allows to notify action about occurred action/field errors
    Parameters:
      `currentResultName` - current result name, action can change it or return the same
    Returns:
      new result name or passed currentResultName