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

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

public class RepositoryExistsException
extends FileManException

The RepositoryExistsException is thrown when an existing repository is created (which means the repository was previously created).

See Also:
Serialized Form

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

RepositoryExistsException

public RepositoryExistsException(java.lang.String repositoryName)
Creates a new RepositoryExistsException. It creates an error message in the following format:
The repository "$REPOSITORY" already exists.

Parameters:
repositoryName - the name of the repository.