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.


Constructor Index

 o JBMSException()

Method Index

 o checkJBMSException(SQLException)
Checks whether an exception is mild enough that work can continue in the current transaction.
 o getMaxSeverity(SQLException)
Gets the maximum severity of the SQLExceptions in a chain of Cloudscape exceptions.

Constructors

 o JBMSException
 public JBMSException()

Methods

 o 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.
 o 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