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

    Author:

    trydofor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      SimpleResponse getDefaultException() handle all exceptions at last.
      void afterPropertiesSet()
      • 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