org.tranql.connector
Class NoExceptionsAreFatalSorter
java.lang.Object
org.tranql.connector.NoExceptionsAreFatalSorter
- All Implemented Interfaces:
- ExceptionSorter
public class NoExceptionsAreFatalSorter
- extends Object
- implements ExceptionSorter
Implementation of a generic @{link ExceptionSorter} that indicates that
no Exceptions are fatal. USE THIS ONLY FOR IN-VM DATABASES! or you may be sorry...
- Version:
- $Revision: 805 $ $Date: 2010-11-12 00:06:35 +0100 (Fri, 12 Nov 2010) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoExceptionsAreFatalSorter
public NoExceptionsAreFatalSorter()
isExceptionFatal
public boolean isExceptionFatal(Exception e)
- Always returns false.
- Specified by:
isExceptionFatal
in interface ExceptionSorter
- Parameters:
e
- the Exception to inspect
- Returns:
- false indicating no Exceptions are fatal
rollbackOnFatalException
public boolean rollbackOnFatalException()
- never try to rollback.... we assume the connection is always still valid
- Specified by:
rollbackOnFatalException
in interface ExceptionSorter
- Returns:
- false
Copyright © 2004-2012 Tranql project committers. All Rights Reserved.