org.sixdml.exceptions
Class DocumentAlreadyExistsException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.sixdml.exceptions.SixdmlException
                    |
                    +--org.sixdml.exceptions.DocumentAlreadyExistsException
All Implemented Interfaces:
Serializable

public class DocumentAlreadyExistsException
extends SixdmlException

 DocumentAlreadyExistsException.java

 Thrown when an attempt is made to add a document to a collection that has the 
 same name as one that already exists in the collection.

Version:
0.6
Author:
Dare Obasanjo
See Also:
SixdmlCollection.insertDocument(String, String), Created: Thu Jan 10 05:35:48 2002
, Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
DocumentAlreadyExistsException()
          Constructs a DocumentAlreadyExistsException with no detail message.
DocumentAlreadyExistsException(String message)
          Constructs a DocumentAlreadyExistsException with the specified detail message.
DocumentAlreadyExistsException(String message, Throwable cause)
          Constructs a DocumentAlreadyExistsException with the specified cause.
DocumentAlreadyExistsException(Throwable cause)
          Constructs a DocumentAlreadyExistsException with the specified detail message and cause.
 
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

DocumentAlreadyExistsException

public DocumentAlreadyExistsException()
Constructs a DocumentAlreadyExistsException with no detail message.


DocumentAlreadyExistsException

public DocumentAlreadyExistsException(String message)
Constructs a DocumentAlreadyExistsException with the specified detail message.


DocumentAlreadyExistsException

public DocumentAlreadyExistsException(Throwable cause)
Constructs a DocumentAlreadyExistsException with the specified detail message and cause.


DocumentAlreadyExistsException

public DocumentAlreadyExistsException(String message,
                                      Throwable cause)
Constructs a DocumentAlreadyExistsException with the specified cause.