Package org.castor.transactionmanager
Class TransactionManagerAcquireException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.castor.transactionmanager.TransactionManagerAcquireException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionManagerAcquireException
(String message) Creates a new TransactionManagerAcquireException with the given message.TransactionManagerAcquireException
(String message, Throwable cause) Creates a new TransactionManagerAcquireException with the given message and cause. -
Method Summary
Modifier and TypeMethodDescriptiongetCause()
Match the JDK 1.4 Throwable version of getCause() on JDK<1.4 systems.void
Print a stack trace to stderr.void
Print a stack trace to the specified PrintStream.void
Print a stack trace to the specified PrintWriter.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
TransactionManagerAcquireException
Creates a new TransactionManagerAcquireException with the given message.- Parameters:
message
- the message for this Exception
-
TransactionManagerAcquireException
Creates a new TransactionManagerAcquireException with the given message and cause.- Parameters:
message
- The message for this exception.cause
- A Throwable instance.
-
-
Method Details
-
getCause
Match the JDK 1.4 Throwable version of getCause() on JDK<1.4 systems. -
printStackTrace
public void printStackTrace()Print a stack trace to stderr.- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
Print a stack trace to the specified PrintStream.- Overrides:
printStackTrace
in classThrowable
- Parameters:
s
- The PrintStream to print a stack trace to.
-
printStackTrace
Print a stack trace to the specified PrintWriter.- Overrides:
printStackTrace
in classThrowable
- Parameters:
w
- The PrintWriter to print a stack trace to.
-