public class ElementDeletedException extends CheckedException
Constructor and Description |
---|
ElementDeletedException(IDProvider idProvider) |
ElementDeletedException(Store.Type storeType,
long id,
String uid,
String name) |
Modifier and Type | Method and Description |
---|---|
String |
getName()
|
Store.Type |
getStore()
Returns
type of the store of the element which causes this exception |
long |
getStoreElementId()
Returns the
id of the element which causes this exception. |
String |
getStoreElementName()
Returns the
name of the element which causes this exception. |
String |
getStoreElementUid()
|
boolean |
hasStoreElementUid()
Indicates wether the element which causes this exception has a
uid or not and therefore
getStoreElementUid() delivers a valid uid or null |
getContext, getErrorCode, getLocalizedMessage, isInfoOnly, setErrorCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ElementDeletedException(Store.Type storeType, long id, String uid, String name)
public ElementDeletedException(IDProvider idProvider)
public Store.Type getStore()
type
of the store of the element which causes this exceptiontype
of the store of the element which causes this exception.public boolean hasStoreElementUid()
uid
or not and therefore
getStoreElementUid()
delivers a valid uid or null
true
if getStoreElementUid()
delivers a valid uid, false
otherwisepublic String getStoreElementUid()
uid
of the element which causes this exception if an uid exists
.hasStoreElementUid()
public String getStoreElementName()
name
of the element which causes this exception.exists
the uid should be used instead of the name.name
of the element which causes this exception.public long getStoreElementId()
id
of the element which causes this exception.id
of the element which causes this exception.public String getName()
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500