org.codehaus.plexus.classworlds.realm
Class DuplicateRealmException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.codehaus.plexus.classworlds.ClassWorldException
org.codehaus.plexus.classworlds.realm.DuplicateRealmException
- All Implemented Interfaces:
- Serializable
public class DuplicateRealmException
- extends ClassWorldException
Indicates an attempt to add a ClassRealm
to a
ClassWorld
with a duplicate id.
- Version:
- $Id$
- Author:
- bob mcwhirter
- See Also:
- Serialized Form
Method Summary |
String |
getId()
Retrieve the duplicate realm id. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DuplicateRealmException
public DuplicateRealmException(ClassWorld world,
String id)
- Construct.
- Parameters:
world
- The world.id
- The realm id.
getId
public String getId()
- Retrieve the duplicate realm id.
- Returns:
- The id.
Copyright © 2002-2012 Codehaus. All Rights Reserved.