public class PersistenceException extends IOException
PersistableValueMap
, a
ModifiableValueMap#update()
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, toString
public PersistenceException()
public PersistenceException(String msg)
msg
- Exception message.public PersistenceException(String msg, Throwable cause)
msg
- Exception message.cause
- Exception cause.public String getResourcePath()
null
public String getPropertyName()
null
Copyright © 2015 The Apache Software Foundation. All rights reserved.