org.apache.struts2.interceptor

## Interface ValidationErrorAware

- All Known Subinterfaces:
    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

    All Methods Instance Methods Abstract 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–2026 Apache Software Foundation. All rights reserved.