org.objectweb.cjdbc.common.exceptions.driver.protocol
Class ControllerCoreException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.objectweb.cjdbc.common.exceptions.driver.protocol.SerializableException
org.objectweb.cjdbc.common.exceptions.driver.protocol.ControllerCoreException
- All Implemented Interfaces:
- java.io.Serializable
- public class ControllerCoreException
- extends SerializableException
This class is meant for exceptions originated in controller core (i.e.,
non-backend) that are serialized to the driver.
- Version:
- 1.0
- Author:
- Marc Herbert
- See Also:
- Serialized Form
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Methods inherited from class org.objectweb.cjdbc.common.exceptions.driver.protocol.SerializableException |
convertStackTrace, fillInStackTrace, getErrorCode, getSerializableStackTrace, getSQLState, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, sendToStream, setErrorCode, setSQLState, setStackTrace |
Methods inherited from class java.lang.Throwable |
getCause, getLocalizedMessage, getMessage, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UNKNOWN
private static final int UNKNOWN
- See Also:
- Constant Field Values
NO_MORE_BACKEND
private static final int NO_MORE_BACKEND
- See Also:
- Constant Field Values
NO_MORE_CONTROLLER
private static final int NO_MORE_CONTROLLER
- See Also:
- Constant Field Values
NOT_IMPLEMENTED
private static final int NOT_IMPLEMENTED
- See Also:
- Constant Field Values
ControllerCoreException
public ControllerCoreException(CJDBCInputStream in)
throws java.io.IOException
- See Also:
SerializableException.SerializableException(CJDBCInputStream)
ControllerCoreException
public ControllerCoreException(java.lang.Throwable ex)
- Converts a chain of Throwables to a new chain of SerializableExceptions
starting with a
ControllerCoreException
. The returned chain
has the same length.
- Parameters:
ex
- head of chain to convert- See Also:
SerializableException.SerializableException(Throwable)
exceptionTypeCode
private static int exceptionTypeCode(java.lang.Throwable ex)
compatibilityWrapperHack
public java.lang.Exception compatibilityWrapperHack()
- Deprecated.
- This method returns a wrapper around 'this' ControllerCoreException, in
order to stay bug for bug compatible with legacy exception handling code.
This method should disappear and be implemented above, directly by the code
calling it.
- Returns:
- a wrapper around this object
Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.