org.apache.xbean.kernel
Class ServiceRegistrationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.xbean.kernel.ServiceRegistrationException
- All Implemented Interfaces:
- Serializable
public class ServiceRegistrationException
- extends Exception
A problem occured while attempting to register or unregister an exception.
- 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 |
ServiceRegistrationException
public ServiceRegistrationException(ServiceName serviceName,
Throwable cause)
- Creates a ServiceRegistrationException for the specified service caused by the specified Throwable.
- Parameters:
serviceName
- the name of the service that was being registered or unregistered.cause
- the reason the registeration problem occured
getServiceName
public ServiceName getServiceName()
- Gets the name of the service that had a registration problem.
- Returns:
- the the name of the service that had a registration problem
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.