org.modeshape.jcr.cache
Class DocumentAlreadyExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.modeshape.jcr.cache.DocumentStoreException
org.modeshape.jcr.cache.DocumentAlreadyExistsException
- All Implemented Interfaces:
- Serializable
public class DocumentAlreadyExistsException
- extends DocumentStoreException
An exception signalling that a document could not be created because one already exists in the database.
- See Also:
- Serialized Form
DocumentAlreadyExistsException
public DocumentAlreadyExistsException(String key)
- Parameters:
key
- the key for the node that does not exist
DocumentAlreadyExistsException
public DocumentAlreadyExistsException(String key,
String message)
- Parameters:
key
- the key for the node that does not existmessage
- the message
DocumentAlreadyExistsException
public DocumentAlreadyExistsException(String key,
Throwable cause)
- Parameters:
key
- the key for the node that does not existcause
- the cause of this exception
DocumentAlreadyExistsException
public DocumentAlreadyExistsException(String key,
String message,
Throwable cause)
- Parameters:
key
- the key for the node that does not existmessage
- the messagecause
- the cause of this exception
Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.