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

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

Field Detail

id

private String id
The realm id.

Constructor Detail

NoSuchRealmException

public NoSuchRealmException(ClassWorld world, String id)
Construct.

Parameters: world The world. id The realm id.

Method Detail

getId

public String getId()
Retrieve the invalid realm id.

Returns: The id.