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.
-
databaseError()
- Generates a DatabaseException for signalling that the
operation failed due to a database error.
-
databaseError(String)
- Generates a DatabaseException for signalling that the
operation failed due to a database error, includes
the text of the error.
-
missingConnection()
- Generates a DatabaseException for signalling that the
operation failed because it was invoked outside the
context of a database connection.
-
noActiveStatement()
- Generates a DatabaseException for signalling that the
operation failed because it was invoked outside the
context of a statement.
databaseError
public static DatabaseException databaseError()
- Generates a DatabaseException for signalling that the
operation failed due to a database error.
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.
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.
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