org.apache.avalon.composition.model
Class FatalServiceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.avalon.framework.CascadingException
              extended byorg.apache.avalon.framework.service.ServiceException
                  extended byorg.apache.avalon.composition.model.FatalServiceException
All Implemented Interfaces:
CascadingThrowable, Serializable

public class FatalServiceException
extends ServiceException

Exception to indicate that there was a transient service error. The exception exposes a delay value which is the anticipated delay in service availability. A delay value of 0 indicates an unknown delay.

Version:
$Revision: 1.1 $ $Date: 2004/02/12 05:59:41 $
Author:
Avalon Development Team
See Also:
Serialized Form

Constructor Summary
FatalServiceException(String key, String message, Throwable cause)
          Construct a new FatalServiceException instance.
 
Methods inherited from class org.apache.avalon.framework.service.ServiceException
getKey, getMessage, getRole
 
Methods inherited from class org.apache.avalon.framework.CascadingException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, 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

FatalServiceException

public FatalServiceException(String key,
                             String message,
                             Throwable cause)
Construct a new FatalServiceException instance.

Parameters:
key - the lookup key
message - The detail message for this exception.
cause - expected service availability delay in milliseconds


Copyright © The Apache Software Foundation. All Rights Reserved.