public class PropertyResourceManagerException extends Exception
PropertyResourceManager
when a property resource couldn't be
added, updated or removed.Constructor and Description |
---|
PropertyResourceManagerException(String message,
boolean currentPropertyResourceChanged)
Create a new exception with detail message.
|
PropertyResourceManagerException(String message,
Throwable cause,
boolean currentPropertyResourceChanged)
Create a new exception with detail message.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isCurrentPropertyResourceChanged() |
void |
setCurrentPropertyResourceChanged(boolean currentPropertyResourceChanged)
Set whether the current property resource was changed and caches containing this property
resource should be refreshed
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PropertyResourceManagerException(String message, boolean currentPropertyResourceChanged)
message
- the details describing the exceptioncurrentPropertyResourceChanged
- whether the current property resource was changed and caches containing this
property resource should be refreshedpublic PropertyResourceManagerException(String message, Throwable cause, boolean currentPropertyResourceChanged)
message
- the details describing the exceptioncause
- the cause of the exceptioncurrentPropertyResourceChanged
- whether the current property resource was changed and caches containing this
property resource should be refreshedpublic boolean isCurrentPropertyResourceChanged()
public void setCurrentPropertyResourceChanged(boolean currentPropertyResourceChanged)
currentPropertyResourceChanged
- true if it was changedCopyright © 2019 Communote team. All rights reserved.