org.apache.xbean.kernel
Class KernelAlreadyExistsException

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

public class KernelAlreadyExistsException
extends RuntimeException

Indicates that a kernel is already registerd with the KernelFactory under the specified name.

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

Constructor Summary
KernelAlreadyExistsException(String name)
          Creates a KernelAlreadyExistsException using the specified name.
 
Method Summary
 String getName()
          Gets the name of the kernel that already existed.
 
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

KernelAlreadyExistsException

public KernelAlreadyExistsException(String name)
Creates a KernelAlreadyExistsException using the specified name.

Parameters:
name - the name of the kernel that was alredy registered
Method Detail

getName

public String getName()
Gets the name of the kernel that already existed.

Returns:
the name of the kernel that already existed.


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