public class PersistenceException
extends java.io.IOException
PersistableValueMap
, a
ModifiableValueMap
or the ResourceResolver
.Constructor and Description |
---|
PersistenceException()
Create a new persistence exception.
|
PersistenceException(java.lang.String msg)
Create a new persistence exception.
|
PersistenceException(java.lang.String msg,
java.lang.Throwable cause)
Create a new persistence exception.
|
PersistenceException(java.lang.String msg,
java.lang.Throwable cause,
java.lang.String resourcePath,
java.lang.String propertyName)
Create a new persistence exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPropertyName()
Get the property name related to this exception.
|
java.lang.String |
getResourcePath()
Get the resource path related to this exception.
|
public PersistenceException()
public PersistenceException(java.lang.String msg)
msg
- Exception message.public PersistenceException(java.lang.String msg, java.lang.Throwable cause)
msg
- Exception message.cause
- Exception cause.public PersistenceException(java.lang.String msg, java.lang.Throwable cause, java.lang.String resourcePath, java.lang.String propertyName)
msg
- Exception message.cause
- Exception cause.resourcePath
- The optional resource pathpropertyName
- The optional property namepublic java.lang.String getResourcePath()
null
public java.lang.String getPropertyName()
null
Copyright © 2018 The Apache Software Foundation. All rights reserved.