com.programix.sql
Class SQLInterruptedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
com.programix.sql.SQLInterruptedException
- All Implemented Interfaces:
- Serializable
public class SQLInterruptedException
- extends SQLException
This subclass of SQLException is thrown to indicate that the calling
thread was interrupted while waiting for an operation to complete. The
interrupt may have occurred at some point in the past, or the interrupt may
have occurred during the time that the caller was inside the method. See
InterruptedException in the
java.lang package for general interrupt handling (this
class exists so that in places where only an SQLException is
allowed, this subclass can be used to signal more specific information).
During construction of an instance of this exception, the interrupt flag
is asserted (or reasserted) so that any code that follows will also have
the chance to throw an InterruptedException. Specifically, this
is done during construction: Thread.currentThread().interrupt()
This is a subclass of SQLException so callers are not required
to catch anything more specific than SQLException if they are not
interested. However, if the caller is interested, this exception is a way to
probe to find out more about what caused the exception.
- Author:
- Paul Hyde
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
SQLInterruptedException
public SQLInterruptedException(String message,
Throwable cause)
SQLInterruptedException
public SQLInterruptedException(Throwable cause)
SQLInterruptedException
public SQLInterruptedException(String message)
SQLInterruptedException
public SQLInterruptedException()
Copyright © 2001-2009
Programix Incorporated.
All rights reserved.
ProgramixGenericLib is free
and is
OSI Certified
Open Source Software under the BSD
license.