Class BroadleafExceptionHandlerProperties.ApiErrorProperties
java.lang.Object
com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.ApiErrorProperties
- Enclosing class:
- BroadleafExceptionHandlerProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanTargeted fully-qualified exception class names that should revert to legacy type/title formats.inthashCode()booleanMASTER TOGGLE: Must be TRUE for any legacy format (type/title) fallbacks to trigger.voidsetLegacyTypeAndTitleEnabled(boolean legacyTypeAndTitleEnabled) MASTER TOGGLE: Must be TRUE for any legacy format (type/title) fallbacks to trigger.voidsetLegacyTypeAndTitleExceptionClasses(List<String> legacyTypeAndTitleExceptionClasses) Targeted fully-qualified exception class names that should revert to legacy type/title formats.toString()
-
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
Targeted fully-qualified exception class names that should revert to legacy type/title formats. Only evaluated iflegacyTypeAndTitleEnabledis 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
Targeted fully-qualified exception class names that should revert to legacy type/title formats. Only evaluated iflegacyTypeAndTitleEnabledis true. If empty, all formats revert. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-