Class RepositoryCreationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.NonTransientDataAccessException
org.springframework.dao.InvalidDataAccessApiUsageException
org.springframework.data.repository.core.RepositoryCreationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FragmentNotImplementedException,IncompleteRepositoryCompositionException,QueryCreationException,UnsupportedFragmentException
Exception thrown in the context of repository creation.
- Since:
- 2.5
- Author:
- Mark Paluch
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRepositoryCreationException(String msg, Class<?> repositoryInterface) Constructor for RepositoryCreationException.RepositoryCreationException(String msg, Throwable cause, Class<?> repositoryInterface) Constructor for RepositoryException. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RepositoryCreationException
Constructor for RepositoryCreationException.- Parameters:
msg- the detail message.repositoryInterface- the repository interface.
-
RepositoryCreationException
Constructor for RepositoryException.- Parameters:
msg- the detail message.cause- the root cause from the data access API in use.repositoryInterface- the repository interface.
-
-
Method Details
-
getRepositoryInterface
-