com.opensymphony.xwork2.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

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

- - ### Method Detail

    - #### 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

Copyright © 2000–2022 Apache Software Foundation. All rights reserved.