org.apache.xbean.kernel
Class UnsatisfiedConditionsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.xbean.kernel.UnsatisfiedConditionsException
- All Implemented Interfaces:
- java.io.Serializable
- public class UnsatisfiedConditionsException
- extends java.lang.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
- Version:
- $Id$
- Author:
- Dain Sundstrom
- See Also:
- Serialized Form
Constructor Summary |
UnsatisfiedConditionsException(java.lang.String message,
ServiceName serviceName,
java.util.Set unsatisfiedConditions)
Creates an UnsatisfiedConditionsException for the specified service and unsatisfied conditions. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, 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 |
UnsatisfiedConditionsException
public UnsatisfiedConditionsException(java.lang.String message,
ServiceName serviceName,
java.util.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 java.util.Set getUnsatisfiedConditions()
- Gets the conditions that were unsatified when the exception was thrown.
- Returns:
- the unsatified conditions that were ignored
Copyright © {inceptionYear}-2006 Apache Software Foundation. All Rights Reserved.