类 ConfigDataLocationNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.boot.context.config.ConfigDataException
org.springframework.boot.context.config.ConfigDataNotFoundException
org.springframework.boot.context.config.ConfigDataLocationNotFoundException
- 所有已实现的接口:
Serializable,OriginProvider
ConfigDataNotFoundException thrown when a ConfigDataLocation cannot be
found.- 从以下版本开始:
- 2.4.0
- 作者:
- Phillip Webb
- 另请参阅:
-
构造器概要
构造器构造器说明Create a newConfigDataLocationNotFoundExceptioninstance.ConfigDataLocationNotFoundException(ConfigDataLocation location, String message, Throwable cause) Create a newConfigDataLocationNotFoundExceptioninstance.ConfigDataLocationNotFoundException(ConfigDataLocation location, Throwable cause) Create a newConfigDataLocationNotFoundExceptioninstance. -
方法概要
修饰符和类型方法说明Return the location that could not be found.Return the source origin ornullif the origin is not known.Return a description of actual referenced item that could not be found.
-
构造器详细资料
-
ConfigDataLocationNotFoundException
Create a newConfigDataLocationNotFoundExceptioninstance.- 参数:
location- the location that could not be found
-
ConfigDataLocationNotFoundException
Create a newConfigDataLocationNotFoundExceptioninstance.- 参数:
location- the location that could not be foundcause- the exception cause
-
ConfigDataLocationNotFoundException
public ConfigDataLocationNotFoundException(ConfigDataLocation location, String message, Throwable cause) Create a newConfigDataLocationNotFoundExceptioninstance.- 参数:
location- the location that could not be foundmessage- the exception messagecause- the exception cause- 从以下版本开始:
- 2.4.7
-
-
方法详细资料
-
getLocation
Return the location that could not be found.- 返回:
- the location
-
getOrigin
从接口复制的说明:OriginProviderReturn the source origin ornullif the origin is not known.- 返回:
- the origin or
null
-
getReferenceDescription
从类复制的说明:ConfigDataNotFoundExceptionReturn a description of actual referenced item that could not be found.- 指定者:
getReferenceDescription在类中ConfigDataNotFoundException- 返回:
- a description of the referenced items
-