org.codehaus.plexus.classworlds.realm

Class NoSuchRealmException


public class NoSuchRealmException
extends ClassWorldException

Indicates an attempt to retrieve a ClassRealm from a ClassWorld with an invalid id.
Version:
$Id: NoSuchRealmException.java 4813 2006-11-24 14:06:14Z handyande $
Author:
bob mcwhirter

Constructor Summary

NoSuchRealmException(ClassWorld world, String id)
Construct.

Method Summary

String
getId()
Retrieve the invalid realm id.

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

getWorld

Constructor Details

NoSuchRealmException

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

Method Details

getId

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