org.apache.torque
Class TorqueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.torque.TorqueException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConstraintViolationException, NoRowsException, TooManyRowsException, UniqueConstraintViolationException

public class TorqueException
extends Exception

The base class of all checked exceptions thrown by Torque.

Version:
$Id: TorqueException.java 1336152 2012-05-09 12:44:35Z tfischer $
Author:
Daniel Rall, Jason van Zyl
See Also:
Serialized Form

Constructor Summary
TorqueException()
          Constructs a new TorqueException without specified detail message.
TorqueException(String msg)
          Constructs a new TorqueException with specified detail message.
TorqueException(String msg, Throwable nested)
          Constructs a new TorqueException with specified detail message and nested Throwable.
TorqueException(Throwable nested)
          Constructs a new TorqueException with specified nested Throwable.
 
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

TorqueException

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


TorqueException

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

Parameters:
msg - the error message.

TorqueException

public TorqueException(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(String msg,
                       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-2012 The Apache Software Foundation. All Rights Reserved.