at.ac.tuwien.dslab.rmi.common.impl
Class DocumentAlreadyExistsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by at.ac.tuwien.dslab.rmi.common.impl.FileManException
              extended by at.ac.tuwien.dslab.rmi.common.impl.DocumentAlreadyExistsException
All Implemented Interfaces:
java.io.Serializable

public class DocumentAlreadyExistsException
extends FileManException

The DocumentAlreadyExistsException is thrown when an existing document is imported to a repository (which means the document was previously imported).

See Also:
Serialized Form

Constructor Summary
DocumentAlreadyExistsException(java.lang.String documentName)
          Creates a new DocumentAlreadyExistsException.
 
Method Summary
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentAlreadyExistsException

public DocumentAlreadyExistsException(java.lang.String documentName)
Creates a new DocumentAlreadyExistsException. It creates an error message in the following format:
The document "$DOCUMENT_NAME" already exists.

Parameters:
documentName - the name of the repository.