org.apache.xbean.kernel
Class KernelAlreadyExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
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 |
KernelAlreadyExistsException
public KernelAlreadyExistsException(String name)
- Creates a KernelAlreadyExistsException using the specified name.
- Parameters:
name
- the name of the kernel that was alredy registered
getName
public String getName()
- Gets the name of the kernel that already existed.
- Returns:
- the name of the kernel that already existed.
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.