Class Hierarchy        Index

Class COM.cloudscape.database.DatabaseException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----COM.cloudscape.database.DatabaseException

public class DatabaseException
extends Exception
Copyright © 1998-1999, Cloudscape, Inc. All rights reserved.

A DatabaseException is thrown by methods in this package to signal failure.

Messages are not currently localized.


Method Index

 o databaseError()
Generates a DatabaseException for signalling that the operation failed due to a database error.
 o databaseError(String)
Generates a DatabaseException for signalling that the operation failed due to a database error, includes the text of the error.
 o missingConnection()
Generates a DatabaseException for signalling that the operation failed because it was invoked outside the context of a database connection.
 o noActiveStatement()
Generates a DatabaseException for signalling that the operation failed because it was invoked outside the context of a statement.

Methods

 o databaseError
 public static DatabaseException databaseError()
Generates a DatabaseException for signalling that the operation failed due to a database error.

 o databaseError
 public static DatabaseException databaseError(String errorText)
Generates a DatabaseException for signalling that the operation failed due to a database error, includes the text of the error.

 o missingConnection
 public static DatabaseException missingConnection()
Generates a DatabaseException for signalling that the operation failed because it was invoked outside the context of a database connection.

 o noActiveStatement
 public static DatabaseException noActiveStatement()
Generates a DatabaseException for signalling that the operation failed because it was invoked outside the context of a statement.


  Class Hierarchy        Index