public class TombstoneException extends RepositoryRuntimeException
FedoraResource
is used where a real object is expectedConstructor and Description |
---|
TombstoneException(FedoraResource fedoraResource)
Construct a new tombstone exception for a resource
|
TombstoneException(FedoraResource fedoraResource,
String uri)
Create a new tombstone exception with a URI to the tombstone resource
|
Modifier and Type | Method and Description |
---|---|
FedoraResource |
getResource()
Get the tombstone resource
|
String |
getURI()
Get a URI to the tombstone resource
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TombstoneException(FedoraResource fedoraResource)
fedoraResource
- the fedora resourcepublic TombstoneException(FedoraResource fedoraResource, String uri)
fedoraResource
- the fedora resourceuri
- the uri to the tombstone resourcepublic FedoraResource getResource()
Copyright © 2013–2017 DuraSpace, Inc.. All rights reserved.