SPT RWT Application API

com.sptci.rwt
Class QueryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sptci.rwt.QueryException
All Implemented Interfaces:
Serializable

public class QueryException
extends RuntimeException

A custom exception that is used to wrap any exceptions raised when executing SQL statements.

© Copyright 2007 Sans Pareil Technologies, Inc.

Version:
$Id: QueryException.java 4123 2008-05-25 21:49:01Z rakesh $
Author:
Rakesh Vidyadharan 2007-10-05
See Also:
Serialized Form

Constructor Summary
protected QueryException()
          Default constructor.
  QueryException(String message)
          Create a new exception with the specified message.
  QueryException(String message, Throwable cause)
          Create a new exception with the specified message and instance of Throwable caused the problem.
  QueryException(Throwable cause)
          Create a new exception with the instance of Throwable that caused the problem.
 
Method Summary
 
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
 

Constructor Detail

QueryException

protected QueryException()
Default constructor. Cannot be instantiated.


QueryException

public QueryException(String message)
Create a new exception with the specified message.

Parameters:
message - The message that describes the problem.

QueryException

public QueryException(Throwable cause)
Create a new exception with the instance of Throwable that caused the problem.

Parameters:
cause - The exception that caused this instance of the exception to be thrown.

QueryException

public QueryException(String message,
                      Throwable cause)
Create a new exception with the specified message and instance of Throwable caused the problem.

Parameters:
message - The message that describes the problem.
cause - The exception that caused this instance of the exception to be thrown.

SPT RWT Application API