org.apache.xbean.kernel
Class IllegalServiceStateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.xbean.kernel.IllegalServiceStateException
- All Implemented Interfaces:
- Serializable
public class IllegalServiceStateException
- extends Exception
Indicates an operation was called on a service in a state that does not allow that operation to be called.
- 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 |
IllegalServiceStateException
public IllegalServiceStateException(String message,
ServiceName serviceName)
- Creates an IllegalServiceStateException.
- Parameters:
message
- information about why the service is in an illegal stateserviceName
- the name of the service
getServiceName
public ServiceName getServiceName()
- Gets the name of the service that caused this exception.
- Returns:
- the service name
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.