Class BroadleafExceptionHandlerProperties.ApiErrorProperties

java.lang.Object
com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.ApiErrorProperties
Enclosing class:
BroadleafExceptionHandlerProperties

public static class BroadleafExceptionHandlerProperties.ApiErrorProperties extends Object
  • Constructor Details

    • ApiErrorProperties

      public ApiErrorProperties()
  • Method Details

    • isLegacyTypeAndTitleEnabled

      public boolean isLegacyTypeAndTitleEnabled()
      MASTER TOGGLE: Must be TRUE for any legacy format (type/title) fallbacks to trigger.
    • getLegacyTypeAndTitleExceptionClasses

      public List<String> getLegacyTypeAndTitleExceptionClasses()
      Targeted fully-qualified exception class names that should revert to legacy type/title formats. Only evaluated if legacyTypeAndTitleEnabled is true. If empty, all formats revert.
    • setLegacyTypeAndTitleEnabled

      public void setLegacyTypeAndTitleEnabled(boolean legacyTypeAndTitleEnabled)
      MASTER TOGGLE: Must be TRUE for any legacy format (type/title) fallbacks to trigger.
    • setLegacyTypeAndTitleExceptionClasses

      public void setLegacyTypeAndTitleExceptionClasses(List<String> legacyTypeAndTitleExceptionClasses)
      Targeted fully-qualified exception class names that should revert to legacy type/title formats. Only evaluated if legacyTypeAndTitleEnabled is true. If empty, all formats revert.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object