org.apache.xbean.kernel
Class ServiceAlreadyExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.xbean.kernel.ServiceAlreadyExistsException
- All Implemented Interfaces:
- Serializable
public class ServiceAlreadyExistsException
- extends Exception
Signifies that an attempt was made to register a service using a name that already has a service registered.
- 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 |
ServiceAlreadyExistsException
public ServiceAlreadyExistsException(ServiceName serviceName)
- Creates a ServiceAlreadyExistsException for the specified service name.
- Parameters:
serviceName
- the name of the service that already exists
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.