org.apache.xbean.kernel
Class UnregisterServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.xbean.kernel.UnregisterServiceException
- All Implemented Interfaces:
- Serializable
public class UnregisterServiceException
- extends Exception
Signafies that there was a problem starting a service and the StartStrategies would like the kernel to
unregister 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 |
UnregisterServiceException
public UnregisterServiceException(ServiceName serviceName,
Throwable cause)
- Creates a UnregisterServiceException for the specified service name.
- Parameters:
serviceName
- the name of the service that is to be unregisteredcause
- the reason we are unregistering the service
getServiceName
public ServiceName getServiceName()
- Gets the name of the service that is to be unregistered.
- Returns:
- the service name
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.