org.springframework.boot.context.config

Class ConfigDataLocationNotFoundException

    • Constructor Detail

      • ConfigDataLocationNotFoundException

        public ConfigDataLocationNotFoundException(ConfigDataLocation location,
                                                   java.lang.Throwable cause)
        Parameters:
        location - the location that could not be found
        cause - the exception cause
      • ConfigDataLocationNotFoundException

        public ConfigDataLocationNotFoundException(ConfigDataLocation location,
                                                   java.lang.String message,
                                                   java.lang.Throwable cause)
        Parameters:
        location - the location that could not be found
        message - the exception message
        cause - the exception cause
        Since:
        2.4.7
    • Method Detail

      • getLocation

        public ConfigDataLocation getLocation()
        Return the location that could not be found.
        Returns:
        the location
      • getOrigin

        public Origin getOrigin()
        Description copied from interface: OriginProvider
        Return the source origin or null if the origin is not known.
        Returns:
        the origin or null