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

public class RepositoryCreationException extends org.springframework.dao.InvalidDataAccessApiUsageException
Exception thrown in the context of repository creation.
Since:
2.5
Author:
Mark Paluch
See Also:
  • Constructor Details

    • RepositoryCreationException

      public RepositoryCreationException(String msg, Class<?> repositoryInterface)
      Constructor for RepositoryCreationException.
      Parameters:
      msg - the detail message.
      repositoryInterface - the repository interface.
    • RepositoryCreationException

      public RepositoryCreationException(String msg, Throwable cause, Class<?> repositoryInterface)
      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

      public Class<?> getRepositoryInterface()