org.castor.transactionmanager
Class TransactionManagerAcquireException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.castor.transactionmanager.TransactionManagerAcquireException
All Implemented Interfaces:
java.io.Serializable

public final class TransactionManagerAcquireException
extends java.lang.Exception

An exception encapsulating an exception that occurs during the operation to acquire a javax.transaction.TransactionManager.

Since:
1.0
Version:
$Revision: 8104 $ $Date: 2005-12-19 15:48:30 -0700 (Mon, 19 Dec 2005) $
Author:
Bruce Snyder, Werner Guttmann, Ralf Joachim
See Also:
Serialized Form

Constructor Summary
TransactionManagerAcquireException(java.lang.String message)
          Creates a new TransactionManagerAcquireException with the given message.
TransactionManagerAcquireException(java.lang.String message, java.lang.Throwable cause)
          Creates a new TransactionManagerAcquireException with the given message and cause.
 
Method Summary
 java.lang.Throwable getCause()
          Match the JDK 1.4 Throwable version of getCause() on JDK<1.4 systems.
 void printStackTrace()
          Print a stack trace to stderr.
 void printStackTrace(java.io.PrintStream s)
          Print a stack trace to the specified PrintStream.
 void printStackTrace(java.io.PrintWriter w)
          Print a stack trace to the specified PrintWriter.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionManagerAcquireException

public TransactionManagerAcquireException(java.lang.String message)
Creates a new TransactionManagerAcquireException with the given message.

Parameters:
message - the message for this Exception

TransactionManagerAcquireException

public TransactionManagerAcquireException(java.lang.String message,
                                          java.lang.Throwable cause)
Creates a new TransactionManagerAcquireException with the given message and cause.

Parameters:
message - The message for this exception.
cause - A Throwable instance.
Method Detail

getCause

public java.lang.Throwable getCause()
Match the JDK 1.4 Throwable version of getCause() on JDK<1.4 systems.

Overrides:
getCause in class java.lang.Throwable
Returns:
The throwable cause of this exception.

printStackTrace

public void printStackTrace()
Print a stack trace to stderr.

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Print a stack trace to the specified PrintStream.

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
s - The PrintStream to print a stack trace to.

printStackTrace

public void printStackTrace(java.io.PrintWriter w)
Print a stack trace to the specified PrintWriter.

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
w - The PrintWriter to print a stack trace to.


Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com