org.apache.xbean.kernel
Class ServiceNotFoundException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.xbean.kernel.ServiceNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class ServiceNotFoundException
extends java.lang.Exception

A service with the specified name was not found.

Since:
2.0
Version:
$Id$
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 © {inceptionYear}-2006 Apache Software Foundation. All Rights Reserved.