org.tranql.connector
Interface ExceptionSorter
- All Known Implementing Classes:
- AllExceptionsAreFatalSorter, NoExceptionsAreFatalSorter
- public interface ExceptionSorter
Interface that can be used to classify an Exception raised on a physical connection.
- Version:
- $Revision: 205 $ $Date: 2005-07-16 23:32:32 +0200 (Sat, 16 Jul 2005) $
Method Summary |
boolean |
isExceptionFatal(java.lang.Exception e)
Determine if an Exception is fatal implying that the underlying connection
is no longer usable. |
isExceptionFatal
public boolean isExceptionFatal(java.lang.Exception e)
- Determine if an Exception is fatal implying that the underlying connection
is no longer usable.
- Parameters:
e
- the Exception to inspect
- Returns:
- true if the Exception implies the connection should no longer be used
Copyright © -2007 The Codehaus. All Rights Reserved.