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

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.DocumentNotExistsException
All Implemented Interfaces:
java.io.Serializable

public class DocumentNotExistsException
extends FileManException

The DocumentNotExistsException is thrown when a non-existing document is committed to the repository (which means that the document was not previously imported).

See Also:
Serialized Form

Constructor Summary
DocumentNotExistsException(java.lang.String documentName)
          Creates a new DocumentNotExistsException.
 
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

DocumentNotExistsException

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

Parameters:
documentName - the name of the repository.