public class ResourceNotFoundException extends RuntimeException
Resource defined by a property is not found.| Constructor and Description |
|---|
ResourceNotFoundException(String propertyName,
org.springframework.core.io.Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPropertyName()
Return the name of the property that defines the resource.
|
org.springframework.core.io.Resource |
getResource()
Return the
Resource. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ResourceNotFoundException(String propertyName, org.springframework.core.io.Resource resource)
public String getPropertyName()
public org.springframework.core.io.Resource getResource()
Resource.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.