Class WarlockErrorProp
-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Cloneable,java.util.Map,java.util.SequencedMap,org.springframework.beans.factory.InitializingBean
@ConfigurationProperties(value = WarlockErrorProp.Key) public class WarlockErrorProp extends LinkedHashMap<K, V> implements InitializingBean
Global Exception handling. supports variable `{message}` placeholder. `default-exception` handles all exceptions and provides defaults for other similar types.
wings-warlock-error-77.properties
- Since:
2021-02-17
trydofor
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringKeypublic SimpleResponsedefaultExceptionpublic final static StringKey$defaultException
-
Constructor Summary
Constructors Constructor Description WarlockErrorProp()
-
Method Summary
Modifier and Type Method Description SimpleResponsegetDefaultException()handle all exceptions at last. voidafterPropertiesSet()-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, newLinkedHashMap, putFirst, putLast, replaceAll, reversed, sequencedEntrySet, sequencedKeySet, sequencedValues, values -
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, size -
Methods inherited from class java.util.SequencedMap
firstEntry, lastEntry, pollFirstEntry, pollLastEntry -
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString -
Methods inherited from class java.util.Map
copyOf, entry, of, ofEntries -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDefaultException
SimpleResponse getDefaultException()
handle all exceptions at last.
-
afterPropertiesSet
void afterPropertiesSet()
-
-
-
-