org.apache.torque
Class TorqueException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.commons.lang.exception.NestableException
              extended byorg.apache.torque.TorqueException
All Implemented Interfaces:
org.apache.commons.lang.exception.Nestable, java.io.Serializable
Direct Known Subclasses:
NoRowsException, TooManyRowsException

public class TorqueException
extends org.apache.commons.lang.exception.NestableException

The base class of all exceptions thrown by Torque.

Version:
$Id: TorqueException.java,v 1.6.4.2 2004/05/20 04:35:16 seade Exp $
Author:
Daniel Rall, Jason van Zyl
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.commons.lang.exception.NestableException
delegate
 
Constructor Summary
TorqueException()
          Constructs a new TorqueException without specified detail message.
TorqueException(java.lang.String msg)
          Constructs a new TorqueException with specified detail message.
TorqueException(java.lang.String msg, java.lang.Throwable nested)
          Constructs a new TorqueException with specified detail message and nested Throwable.
TorqueException(java.lang.Throwable nested)
          Constructs a new TorqueException with specified nested Throwable.
 
Methods inherited from class org.apache.commons.lang.exception.NestableException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TorqueException

public TorqueException()
Constructs a new TorqueException without specified detail message.


TorqueException

public TorqueException(java.lang.String msg)
Constructs a new TorqueException with specified detail message.

Parameters:
msg - the error message.

TorqueException

public TorqueException(java.lang.Throwable nested)
Constructs a new TorqueException with specified nested Throwable.

Parameters:
nested - the exception or error that caused this exception to be thrown.

TorqueException

public TorqueException(java.lang.String msg,
                       java.lang.Throwable nested)
Constructs a new TorqueException with specified detail message and nested Throwable.

Parameters:
msg - the error message.
nested - the exception or error that caused this exception to be thrown.


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.