Class FragmentNotImplementedException
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.FragmentNotImplementedException
- All Implemented Interfaces:
Serializable
Exception thrown during repository creation or repository method invocation when invoking a repository method on a
fragment without an implementation.
- Since:
- 2.5
- Author:
- Mark Paluch
- See Also:
-
Constructor Summary
ConstructorDescriptionFragmentNotImplementedException
(String msg, Class<?> repositoryInterface, RepositoryFragment<?> fragment) Constructor for FragmentNotImplementedException. -
Method Summary
Methods inherited from class org.springframework.data.repository.core.RepositoryCreationException
getRepositoryInterface
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FragmentNotImplementedException
public FragmentNotImplementedException(String msg, Class<?> repositoryInterface, RepositoryFragment<?> fragment) Constructor for FragmentNotImplementedException.- Parameters:
msg
- the detail message.repositoryInterface
- the repository interface.fragment
- the offending repository fragment.
-
-
Method Details
-
getFragment
-