org.objectweb.cjdbc.common.exceptions
Class RollbackException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.objectweb.cjdbc.common.exceptions.CJDBCException
              extended byorg.objectweb.cjdbc.common.exceptions.RollbackException
All Implemented Interfaces:
java.io.Serializable

public class RollbackException
extends CJDBCException

A RollbackException is thrown by a scheduler when the transaction must be rollbacked (for example when a deadlock is detected).

Version:
1.0
Author:
Emmanuel Cecchet
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Fields inherited from class org.objectweb.cjdbc.common.exceptions.CJDBCException
cause
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
RollbackException()
          Creates a new RollbackException instance.
RollbackException(java.lang.String message)
          Creates a new RollbackException instance.
RollbackException(java.lang.String message, java.lang.Throwable cause)
          Creates a new RollbackException instance.
RollbackException(java.lang.Throwable cause)
          Creates a new RollbackException instance.
 
Methods inherited from class org.objectweb.cjdbc.common.exceptions.CJDBCException
fillInStackTrace, getCause, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Throwable
getLocalizedMessage, initCause, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

RollbackException

public RollbackException()
Creates a new RollbackException instance.


RollbackException

public RollbackException(java.lang.String message)
Creates a new RollbackException instance.

Parameters:
message - the error message

RollbackException

public RollbackException(java.lang.Throwable cause)
Creates a new RollbackException instance.

Parameters:
cause - the root cause

RollbackException

public RollbackException(java.lang.String message,
                         java.lang.Throwable cause)
Creates a new RollbackException instance.

Parameters:
message - the error message
cause - the root cause


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.