org.codehaus.classworlds
Class DuplicateRealmException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.codehaus.classworlds.ClassWorldException
              extended byorg.codehaus.classworlds.DuplicateRealmException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateRealmException
extends ClassWorldException

Indicates an attempt to add a ClassRealm to a ClassWorld with a duplicate id.

Version:
$Id: DuplicateRealmException.java,v 1.1.1.1 2004/07/01 13:59:18 jvanzyl Exp $
Author:
bob mcwhirter
See Also:
Serialized Form

Field Summary
private  java.lang.String id
          The realm id.
 
Fields inherited from class org.codehaus.classworlds.ClassWorldException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
DuplicateRealmException(ClassWorld world, java.lang.String id)
          Construct.
 
Method Summary
 java.lang.String getId()
          Retrieve the duplicate realm id.
 
Methods inherited from class org.codehaus.classworlds.ClassWorldException
getWorld
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

private java.lang.String id
The realm id.

Constructor Detail

DuplicateRealmException

public DuplicateRealmException(ClassWorld world,
                               java.lang.String id)
Construct.

Parameters:
world - The world.
id - The realm id.
Method Detail

getId

public java.lang.String getId()
Retrieve the duplicate realm id.

Returns:
The id.