org.modeshape.jcr.cache
Class DocumentStoreException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.modeshape.jcr.cache.DocumentStoreException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DocumentAlreadyExistsException, DocumentNotFoundException
public class DocumentStoreException
- extends RuntimeException
An exception signalling that a failure occurred within a document store.
- See Also:
- Serialized Form
DocumentStoreException
public DocumentStoreException(String key)
- Parameters:
key
- the key for the document
DocumentStoreException
public DocumentStoreException(String key,
String message)
- Parameters:
key
- the key for the documentmessage
- the message
DocumentStoreException
public DocumentStoreException(String key,
Throwable cause)
- Parameters:
key
- the key for the documentcause
- the cause of this exception
DocumentStoreException
public DocumentStoreException(String key,
String message,
Throwable cause)
- Parameters:
key
- the key for the documentmessage
- the messagecause
- the cause of this exception
toString
public String toString()
- Overrides:
toString
in class Throwable
getKey
public String getKey()
- Get the document key
- Returns:
- the key for the document
Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.