Class ErrorAttributesMessageSanitizer
- java.lang.Object
-
- org.activiti.cloud.common.error.attributes.ErrorAttributesMessageSanitizer
-
- All Implemented Interfaces:
ErrorAttributesCustomizer
public class ErrorAttributesMessageSanitizer extends Object implements ErrorAttributesCustomizer
-
-
Field Summary
Fields Modifier and Type Field Description static StringERROR_NOT_DISCLOSED_MESSAGEstatic StringMESSAGEstatic String[]TECHNICAL_INFO_BLACKLISTstatic PatternVALIDATION_REGEX
-
Constructor Summary
Constructors Constructor Description ErrorAttributesMessageSanitizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>customize(Map<String,Object> errorAttributes, Throwable error)
-
-
-
Field Detail
-
MESSAGE
public static final String MESSAGE
- See Also:
- Constant Field Values
-
ERROR_NOT_DISCLOSED_MESSAGE
public static final String ERROR_NOT_DISCLOSED_MESSAGE
- See Also:
- Constant Field Values
-
TECHNICAL_INFO_BLACKLIST
public static final String[] TECHNICAL_INFO_BLACKLIST
-
VALIDATION_REGEX
public static final Pattern VALIDATION_REGEX
-
-