org.apache.xbean.kernel
Class UnsatisfiedConditionsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.xbean.kernel.UnsatisfiedConditionsException
- All Implemented Interfaces:
- Serializable
public class UnsatisfiedConditionsException
- extends Exception
Signifies that there were unsatified conditions during a start or stop operation. The service is left in the
STARTING state or STOPPING state.
- 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 |
UnsatisfiedConditionsException
public UnsatisfiedConditionsException(String message,
ServiceName serviceName,
Set unsatisfiedConditions)
- Creates an UnsatisfiedConditionsException for the specified service and unsatisfied conditions.
- Parameters:
message
- information about the unsatisfied conditionsserviceName
- the name of the service that has unsatisfied conditionsunsatisfiedConditions
- the unsatisfied conditions
getServiceName
public ServiceName getServiceName()
- Gets the name of the service that has unsatisfied conditions.
- 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.