org.springframework.boot.context.properties

Class IncompatibleConfigurationException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
          • org.springframework.boot.context.properties.IncompatibleConfigurationException
  • All Implemented Interfaces:
    java.io.Serializable


    public class IncompatibleConfigurationException
    extends java.lang.RuntimeException
    Exception thrown when the application has configured an incompatible set of ConfigurationProperties keys.
    Since:
    2.4.0
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.Collection<java.lang.String> getIncompatibleKeys() 
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IncompatibleConfigurationException

        public IncompatibleConfigurationException(java.lang.String... incompatibleKeys)
    • Method Detail

      • getIncompatibleKeys

        public java.util.Collection<java.lang.String> getIncompatibleKeys()