Class UnsupportedFragmentException

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
org.springframework.data.repository.core.support.UnsupportedFragmentException
All Implemented Interfaces:
Serializable

public class UnsupportedFragmentException extends RepositoryCreationException
Exception thrown during repository creation when a well-known fragment interface is not supported by the repository factory.
Since:
2.5
Author:
Mark Paluch
See Also:
  • Constructor Details

    • UnsupportedFragmentException

      public UnsupportedFragmentException(String msg, Class<?> repositoryInterface, Class<?> fragmentInterface)
      Constructor for UnsupportedFragmentException.
      Parameters:
      msg - the detail message.
      repositoryInterface - the repository interface.
      fragmentInterface - the offending fragment interface.
  • Method Details

    • getFragmentInterface

      public Class<?> getFragmentInterface()