Class RepositoryException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.dirigible.repository.api.RepositoryException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RepositoryCreationException, RepositoryExportException, RepositoryImportException, RepositoryInitializationException, RepositoryReadException, RepositorySearchException, RepositoryVersioningException, RepositoryWriteException

public class RepositoryException
extends RuntimeException
The RepositoryException is thrown in situations when a user is trying to use any of the repository API in a way that is invalid or not expected.
One such example is when passing null to a method when it does not expect it. This would likely result in a IllegalArgumentException or a NullPointerException depending on the implementation's code conventions. The first exception type is preferred though.
See Also:
Serialized Form
  • Constructor Details

    • RepositoryException

      public RepositoryException()
      Instantiates a new repository exception.
    • RepositoryException

      public RepositoryException​(String message)
      Instantiates a new repository exception.
      Parameters:
      message - the message
    • RepositoryException

      public RepositoryException​(Throwable ex)
      Instantiates a new repository exception.
      Parameters:
      ex - the ex
    • RepositoryException

      public RepositoryException​(String message, Throwable ex)
      Instantiates a new repository exception.
      Parameters:
      message - the message
      ex - the ex