org.codehaus.classworlds
Class ClassWorldException

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

public class ClassWorldException
extends Exception

Base exception for ClassWorld errors.

Version:
$Id$
Author:
bob mcwhirter
See Also:
Serialized Form

Constructor Summary
ClassWorldException(ClassWorld world)
          Construct.
ClassWorldException(ClassWorld world, 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
 

Constructor Detail

ClassWorldException

public ClassWorldException(ClassWorld world)
Construct.

Parameters:
world - The world.

ClassWorldException

public ClassWorldException(ClassWorld world,
                           String msg)
Construct.

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

getWorld

public ClassWorld getWorld()
Retrieve the world.

Returns:
The world.


Copyright © 2002-2012 Codehaus. All Rights Reserved.