Example usage for org.hibernate.engine.spi ExceptionConverter ExceptionConverter

List of usage examples for org.hibernate.engine.spi ExceptionConverter ExceptionConverter

Introduction

In this page you can find the example usage for org.hibernate.engine.spi ExceptionConverter ExceptionConverter.

Prototype

ExceptionConverter

Source Link

Usage

From source file:sql.support.ExecutionContextConversionTestImpl.java

License:LGPL

@Override
public ExceptionConverter getExceptionConverter() {
    return new ExceptionConverter() {
        @Override//from  www. j  a  va 2s  . c  o m
        public RuntimeException convertCommitException(RuntimeException e) {
            return null;
        }

        @Override
        public RuntimeException convert(HibernateException e, LockOptions lockOptions) {
            return null;
        }

        @Override
        public RuntimeException convert(HibernateException e) {
            return null;
        }

        @Override
        public RuntimeException convert(RuntimeException e) {
            return null;
        }

        @Override
        public RuntimeException convert(RuntimeException e, LockOptions lockOptions) {
            return null;
        }

        @Override
        public JDBCException convert(SQLException e, String message) {
            return null;
        }
    };
}