Package org.castor.cache
Class CacheAcquireException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.castor.cache.CacheAcquireException
- All Implemented Interfaces:
Serializable
Exception that indicates that a performance cache instance can not be acquired.
- Since:
- 1.0
- Version:
- $Revision: 8104 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
- Author:
- Werner Guttmann, Ralf Joachim
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCacheAcquireException
(String message) Creates an instance of CacheAcquireException.CacheAcquireException
(String message, Throwable cause) Creates an instance of CacheAcquireException Exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
CacheAcquireException
Creates an instance of CacheAcquireException.- Parameters:
message
- An error message.
-
CacheAcquireException
Creates an instance of CacheAcquireException Exception.- Parameters:
message
- An error message.cause
- The original exception that caused the problem.
-
-
Method Details
-
getCause
Match the JDK 1.4 Throwable version of getCause() on JDK<1.4 systems. -
printStackTrace
public final 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.
-