util
Class ClassReloadException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by util.ClassReloadException
All Implemented Interfaces:
Serializable

public class ClassReloadException
extends IllegalArgumentException

This exception is thrown during a reload process in the #Reloadable instance if the value pointed to by PropertySupplying.KEY_CLASS changed. This means that the current object is unable to reload itself, because its class definition according to its properties has changed. However, the issuing object might trap that exception, create a new object from the updated properties and replace the objcet that threw this exception with this new instance.

See Also:
Serialized Form

Constructor Summary
ClassReloadException()
          Constructs a ClassReloadException with no detail message.
ClassReloadException(String s)
          Constructs a ClassReloadException with THE SPECIFIED detail message.
 
Method Summary
 
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

ClassReloadException

public ClassReloadException()
Constructs a ClassReloadException with no detail message.


ClassReloadException

public ClassReloadException(String s)
Constructs a ClassReloadException with THE SPECIFIED detail message.