org.apache.xbean.kernel
Class ForcedStopException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.xbean.kernel.ForcedStopException
- All Implemented Interfaces:
- Serializable
public class ForcedStopException
- extends Exception
Signafies that a StopStrategies would like the kernel to ignore any unsatified stop conditions and continue to
destroy the service.
- Since:
- 2.0
- Author:
- Dain Sundstrom
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ForcedStopException
public ForcedStopException(ServiceName serviceName,
Set unsatisfiedConditions)
- Creates a ForcedStopException for the specified service name.
- Parameters:
serviceName
- the name of the service that is to be forceably stoppedunsatisfiedConditions
- the unsatisfied conditions that will be ignored
getServiceName
public ServiceName getServiceName()
- Gets the name of the service that is to be forceably stopped.
- Returns:
- the service name
getUnsatisfiedConditions
public Set getUnsatisfiedConditions()
- Gets the conditions that were unsatified when the exception was thrown.
- Returns:
- the unsatified conditions that were ignored
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.