org.castor.cache
Class CacheAcquireException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.castor.cache.CacheAcquireException
All Implemented Interfaces:
java.io.Serializable

public class CacheAcquireException
extends java.lang.Exception

Exception that indicates that a performance cache instance can not be acquired.

Since:
1.0
Version:
$Revision: 6299 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
Author:
Werner Guttmann, Ralf Joachim
See Also:
Serialized Form

Constructor Summary
CacheAcquireException(java.lang.String message)
          Creates an instance of CacheAcquireException
CacheAcquireException(java.lang.String message, java.lang.Throwable cause)
          Creates an instance of CacheAcquireException Exception
 
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

CacheAcquireException

public CacheAcquireException(java.lang.String message)
Creates an instance of CacheAcquireException

Parameters:
message - An error message.

CacheAcquireException

public CacheAcquireException(java.lang.String message,
                             java.lang.Throwable cause)
Creates an instance of CacheAcquireException Exception

Parameters:
message - An error message
cause - The original exception that caused the problem.
Method Detail

getCause

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

Returns:
The throwable cause of this exception.

printStackTrace

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


printStackTrace

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

Parameters:
s - The PrintStream to print a stack trace to.

printStackTrace

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

Parameters:
w - The PrintWriter to print a stack trace to.


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