Class Hierarchy Previous Next Index
Class COM.cloudscape.database.JBMSException
java.lang.Object
|
+----COM.cloudscape.database.JBMSException
- public class JBMSException
- extends java.lang.Object
Copyright © 1998-2000, Informix Software, Inc. All rights reserved.
Support methods for SQLExceptions thrown by Cloudscape.
JBMSException()
-
checkJBMSException(SQLException)
- Checks whether an exception is mild enough that
work can continue in the current transaction.
getMaxSeverity(SQLException)
- Gets the maximum severity of the SQLExceptions in
a chain of Cloudscape exceptions.
JBMSException
public JBMSException()
checkJBMSException
public static void checkJBMSException(java.sql.SQLException se) throws java.sql.SQLException
Checks whether an exception is mild enough that
work can continue in the current transaction.
- Parameters:
se
- The original SQLException, whose severity
should be tested.
- Throws:
- java.sql.SQLException - thrown if exception is too severe
for work to continue in this transaction.
getMaxSeverity
public static int getMaxSeverity(java.sql.SQLException se)
Gets the maximum severity of the SQLExceptions in
a chain of Cloudscape exceptions.
- Parameters:
se
- First SQLException in the chain.
- Returns:
- the maximum severity of the SQLExceptions in the chain.
Class Hierarchy Previous Next Index