org.ozoneDB.core
Class TransactionError
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Error
|
+--org.ozoneDB.core.TransactionError
- All Implemented Interfaces:
- java.io.Serializable
- public final class TransactionError
- extends java.lang.Error
A TransactionError indicates that the current transaction has to abort no
matter what. (For example because a dead-lock has been detected.) Therefore
it is an Error instead of an Exception. So it will not be catched by a
"catch (Exception e)" clause, which is the common way to catch exceptions in
the ozone code.
- Version:
- $Revision: 1.1 $Date: 2001/12/18 10:31:30 $
- Author:
- SMB
- See Also:
- Serialized Form
Fields inherited from class java.lang.Error |
|
Fields inherited from class java.lang.Throwable |
|
Method Summary |
int |
code()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UNKNOWN
public static final int UNKNOWN
- See Also:
- Constant Field Values
DEADLOCK
public static final int DEADLOCK
- See Also:
- Constant Field Values
INTERNAL
public static final int INTERNAL
- See Also:
- Constant Field Values
code
protected int code
TransactionError
public TransactionError()
TransactionError
public TransactionError(java.lang.String s)
TransactionError
public TransactionError(java.lang.String s,
int _code)
code
public int code()
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.