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
One such example is when passing
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 Summary
Constructors Constructor Description RepositoryException()Instantiates a new repository exception.RepositoryException(String message)Instantiates a new repository exception.RepositoryException(String message, Throwable ex)Instantiates a new repository exception.RepositoryException(Throwable ex)Instantiates a new repository exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RepositoryException
public RepositoryException()Instantiates a new repository exception. -
RepositoryException
Instantiates a new repository exception.- Parameters:
message- the message
-
RepositoryException
Instantiates a new repository exception.- Parameters:
ex- the ex
-
RepositoryException
Instantiates a new repository exception.- Parameters:
message- the messageex- the ex
-