org.codehaus.plexus.classworlds.realm

Class DuplicateRealmException


public class DuplicateRealmException
extends ClassWorldException

Indicates an attempt to add a ClassRealm to a ClassWorld with a duplicate id.
Version:
$Id: DuplicateRealmException.java 4813 2006-11-24 14:06:14Z handyande $
Author:
bob mcwhirter

Constructor Summary

DuplicateRealmException(ClassWorld world, String id)
Construct.

Method Summary

String
getId()
Retrieve the duplicate realm id.

Methods inherited from class org.codehaus.plexus.classworlds.ClassWorldException

getWorld

Constructor Details

DuplicateRealmException

public DuplicateRealmException(ClassWorld world,
                               String id)
Construct.
Parameters:
world - The world.
id - The realm id.

Method Details

getId

public String getId()
Retrieve the duplicate realm id.
Returns:
The id.