org.codehaus.classworlds
Class ClassWorldException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.codehaus.classworlds.ClassWorldException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DuplicateRealmException, NoSuchRealmException

public class ClassWorldException
extends java.lang.Exception

Base exception for ClassWorld errors.

Version:
$Id: ClassWorldException.java,v 1.2 2003/08/27 08:53:21 user57 Exp $
Author:
bob mcwhirter
See Also:
Serialized Form

Field Summary
private  ClassWorld world
          The world.
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ClassWorldException(ClassWorld world)
          Construct.
ClassWorldException(ClassWorld world, java.lang.String msg)
          Construct.
 
Method Summary
 ClassWorld getWorld()
          Retrieve the world.
 
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

world

private ClassWorld world
The world.

Constructor Detail

ClassWorldException

public ClassWorldException(ClassWorld world)
Construct.

Parameters:
world - The world.

ClassWorldException

public ClassWorldException(ClassWorld world,
                           java.lang.String msg)
Construct.

Parameters:
world - The world.
msg - The detail message.
Method Detail

getWorld

public ClassWorld getWorld()
Retrieve the world.

Returns:
The world.