org.apache.xbean.kernel
Class ServiceRegistrationException

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

Constructor Summary
ServiceRegistrationException(ServiceName serviceName, Throwable cause)
          Creates a ServiceRegistrationException for the specified service caused by the specified Throwable.
 
Method Summary
 ServiceName getServiceName()
          Gets the name of the service that had a registration problem.
 
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

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
Method Detail

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-2009 Apache Software Foundation. All Rights Reserved.