util
Class ClassReloadException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
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
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ClassReloadException
public ClassReloadException()
- Constructs a ClassReloadException with no detail message.
ClassReloadException
public ClassReloadException(String s)
- Constructs a ClassReloadException with THE SPECIFIED detail message.