org.apache.xbean.kernel
Class UnregisterServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
UnregisterServiceException(ServiceName serviceName, Throwable cause)
          Creates a UnregisterServiceException for the specified service name.
 
Method Summary
 ServiceName getServiceName()
          Gets the name of the service that is to be unregistered.
 
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
 

Constructor Detail

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 unregistered
cause - the reason we are unregistering the service
Method Detail

getServiceName

public ServiceName getServiceName()
Gets the name of the service that is to be unregistered.

Returns:
the service name


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.