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 aClassRealm
to aClassWorld
with a duplicate id.- Author:
- bob mcwhirter
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DuplicateRealmException(ClassWorld world, String id)
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Retrieve the duplicate realm id.-
Methods inherited from class org.codehaus.plexus.classworlds.ClassWorldException
getWorld
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DuplicateRealmException
public DuplicateRealmException(ClassWorld world, String id)
Construct.- Parameters:
world
- The world.id
- The realm id.
-
-
Method Detail
-
getId
public String getId()
Retrieve the duplicate realm id.- Returns:
- The id.
-
-