public class PersistenceException extends IOException
PersistableValueMap, a
ModifiableValueMap or the ResourceResolver.| Constructor and Description |
|---|
PersistenceException()
Create a new persistence exception.
|
PersistenceException(String msg)
Create a new persistence exception.
|
PersistenceException(String msg,
Throwable cause)
Create a new persistence exception.
|
PersistenceException(String msg,
Throwable cause,
String resourcePath,
String propertyName)
Create a new persistence exception.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPropertyName()
Get the property name related to this exception.
|
String |
getResourcePath()
Get the resource path related to this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PersistenceException()
public PersistenceException(String msg)
msg - Exception message.public PersistenceException(String msg, Throwable cause)
msg - Exception message.cause - Exception cause.public PersistenceException(String msg, Throwable cause, String resourcePath, String propertyName)
msg - Exception message.cause - Exception cause.resourcePath - The optional resource pathpropertyName - The optional property namepublic String getResourcePath()
nullpublic String getPropertyName()
nullCopyright © 2017 The Apache Software Foundation. All rights reserved.