org.apache.xbean.kernel
Class ServiceNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.xbean.kernel.ServiceNotFoundException
All Implemented Interfaces:
Serializable

public class ServiceNotFoundException
extends Exception

A service with the specified name was not found.

Since:
2.0
Author:
Dain Sundstrom
See Also:
Serialized Form

Constructor Summary
ServiceNotFoundException(ServiceName serviceName)
          Creates a ServiceNotFoundException for the specified service name.
 
Method Summary
 ServiceName getServiceName()
          Gets the name of the service that was not found.
 
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

ServiceNotFoundException

public ServiceNotFoundException(ServiceName serviceName)
Creates a ServiceNotFoundException for the specified service name.

Parameters:
serviceName - the name of the service that was not found.
Method Detail

getServiceName

public ServiceName getServiceName()
Gets the name of the service that was not found.

Returns:
the the name of the service that was not found


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