org.apache.xbean.kernel
Class KernelAlreadyExistsException

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

public class KernelAlreadyExistsException
extends java.lang.RuntimeException

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

Since:
2.0
Version:
$Id$
Author:
Dain Sundstrom
See Also:
Serialized Form

Constructor Summary
KernelAlreadyExistsException(java.lang.String name)
          Creates a KernelAlreadyExistsException using the specified name.
 
Method Summary
 java.lang.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(java.lang.String name)
Creates a KernelAlreadyExistsException using the specified name.

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

getName

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

Returns:
the name of the kernel that already existed.


Copyright © {inceptionYear}-2006 Apache Software Foundation. All Rights Reserved.