类 ExceptionMapperLegacyJpaImpl
- java.lang.Object
-
- org.hibernate.jpa.internal.ExceptionMapperLegacyJpaImpl
-
- 所有已实现的接口:
Serializable,ExceptionMapper
public class ExceptionMapperLegacyJpaImpl extends Object implements ExceptionMapper
- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 static ExceptionMapperLegacyJpaImplINSTANCESingleton access
-
构造器概要
构造器 构造器 说明 ExceptionMapperLegacyJpaImpl()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 RuntimeExceptionmapManagedFlushFailure(String message, RuntimeException failure, SessionImplementor session)Map an exception encountered during a managed flush to the appropriate runtime-based exception.RuntimeExceptionmapStatusCheckFailure(String message, javax.transaction.SystemException systemException, SessionImplementor session)Map a JTASystemExceptionto the appropriate runtime-based exception.
-
-
-
字段详细资料
-
INSTANCE
public static final ExceptionMapperLegacyJpaImpl INSTANCE
Singleton access
-
-
方法详细资料
-
mapStatusCheckFailure
public RuntimeException mapStatusCheckFailure(String message, javax.transaction.SystemException systemException, SessionImplementor session)
从接口复制的说明:ExceptionMapperMap a JTASystemExceptionto the appropriate runtime-based exception.- 指定者:
mapStatusCheckFailure在接口中ExceptionMapper- 参数:
message- The message to use for the returned exceptionsystemException- The causal exception- 返回:
- The appropriate exception to throw
-
mapManagedFlushFailure
public RuntimeException mapManagedFlushFailure(String message, RuntimeException failure, SessionImplementor session)
从接口复制的说明:ExceptionMapperMap an exception encountered during a managed flush to the appropriate runtime-based exception.- 指定者:
mapManagedFlushFailure在接口中ExceptionMapper- 参数:
message- The message to use for the returned exceptionfailure- The causal exception- 返回:
- The appropriate exception to throw
-
-