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

Field Summary
Stringid
The realm id.
Constructor Summary
DuplicateRealmException(ClassWorld world, String id)
Construct.
Method Summary
StringgetId()
Retrieve the duplicate realm id.

Field Detail

id

private String id
The realm id.

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.