Package org.springframework.orm.jpa
Class JpaSystemException
- All Implemented Interfaces:
Serializable
public class JpaSystemException extends UncategorizedDataAccessException
JPA-specific subclass of UncategorizedDataAccessException, for JPA system errors that do not match any concreteorg.springframework.dao
exceptions.- Since:
- 2.0
- Author:
- Juergen Hoeller
- See Also:
EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(java.lang.RuntimeException)
, Serialized Form
Constructor Summary
Constructors Constructor Description JpaSystemException(RuntimeException ex)
JpaSystemException(PersistenceException ex)
Deprecated.
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Detail
JpaSystemException
@Deprecated public JpaSystemException(PersistenceException ex)
Deprecated.
JpaSystemException
public JpaSystemException(RuntimeException ex)