org.objectweb.cjdbc.util
Class CJDBCException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.objectweb.cjdbc.util.CJDBCException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AuthenticationManagerException, CommandCompleted, ConsoleHelperException, ControllerException, CreateTableException, ErrorCheckingException, RollbackException, ShutdownException

public abstract class CJDBCException
extends java.lang.Exception

C-JDBC base exception.

Version:
1.0
Author:
Mathieu Peltier
See Also:
Serialized Form

Field Summary
private  java.lang.Throwable cause
          Optional exception cause
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
CJDBCException()
          Creates a new CJDBCException instance.
CJDBCException(java.lang.String message)
          Creates a new CJDBCException instance.
CJDBCException(java.lang.String message, java.lang.Throwable cause)
          Creates a new CJDBCException instance.
CJDBCException(java.lang.Throwable cause)
          Creates a new CJDBCException instance.
 
Method Summary
 java.lang.Throwable getCause()
          Gets the root cause of this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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
 

Field Detail

cause

private java.lang.Throwable cause
Optional exception cause

Constructor Detail

CJDBCException

public CJDBCException()
Creates a new CJDBCException instance.


CJDBCException

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

Parameters:
message - the error message

CJDBCException

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

Parameters:
cause - the root cause

CJDBCException

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

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

getCause

public java.lang.Throwable getCause()
Gets the root cause of this exception.

Returns:
a Throwable object


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