org.apache.avalon.activation
Class TransientApplianceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.avalon.framework.CascadingException
              extended byorg.apache.avalon.activation.ApplianceException
                  extended byorg.apache.avalon.activation.TransientApplianceException
All Implemented Interfaces:
CascadingThrowable, Serializable

public class TransientApplianceException
extends ApplianceException

Exception to indicate that there was a transient exception.

Version:
$Revision: 1.2 $ $Date: 2004/02/14 21:33:55 $
Author:
Avalon Development Team
See Also:
Serialized Form

Constructor Summary
TransientApplianceException(long delay)
          Construct a new TransientApplianceException instance.
TransientApplianceException(String message, long delay)
          Construct a new TransientApplianceException instance.
TransientApplianceException(String message, Throwable cause, long delay)
          Construct a new TransientApplianceException instance.
 
Method Summary
 long getDelay()
          Return the projected delay.
 
Methods inherited from class org.apache.avalon.framework.CascadingException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

TransientApplianceException

public TransientApplianceException(long delay)
Construct a new TransientApplianceException instance.

Parameters:
delay - the expected dalay

TransientApplianceException

public TransientApplianceException(String message,
                                   long delay)
Construct a new TransientApplianceException instance.

Parameters:
message - the exception message
delay - the expected dalay

TransientApplianceException

public TransientApplianceException(String message,
                                   Throwable cause,
                                   long delay)
Construct a new TransientApplianceException instance.

Parameters:
message - the exception message
cause - the root cause of the exception
delay - the projected delay
Method Detail

getDelay

public long getDelay()
Return the projected delay.

Returns:
the delay in milliseconds


Copyright © The Apache Software Foundation. All Rights Reserved.