Class Hierarchy Index
Class COM.cloudscape.database.JBMSException
java.lang.Object
|
+----COM.cloudscape.database.JBMSException
- public class JBMSException
- extends Object
Copyright © 1998-1999, Cloudscape, 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(SQLException se) throws 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: SQLException
- thrown if exception is too severe
for work to continue in this transaction.
getMaxSeverity
public static int getMaxSeverity(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 Index