|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.sling.api.resource.PersistenceException
public class PersistenceException
This exception will be thrown during the try to persist
changes to a PersistableValueMap
, a
ModifiableValueMap#update()
or
the ResourceResolver
.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
java.lang.String |
getPropertyName()
Get the property name related to this exception. |
java.lang.String |
getResourcePath()
Get the resource path related to this exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public java.lang.String getResourcePath()
null
public java.lang.String getPropertyName()
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |