public class TriggerValidationException extends Exception
Constructor and Description |
---|
TriggerValidationException(String name,
Map<String,String> details)
Create an exception.
|
TriggerValidationException(String name,
String... keyValues)
Create an exception.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getDetails() |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public TriggerValidationException(String name, Map<String,String> details)
name
- name of the trigger / action / listener that caused the exceptiondetails
- details of invalid configuration - key is a property name,
value is an error message.public TriggerValidationException(String name, String... keyValues)
name
- name of the trigger / action / listener that caused the exceptionkeyValues
- zero or even number of arguments representing symbolic key
(eg. property name) and the corresponding validation error message.Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.