util.rmi
Class PortReloadException

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.rmi.PortReloadException
All Implemented Interfaces:
Serializable

public class PortReloadException
extends IllegalArgumentException

This exception is thrown during a reload process in the #Reloadable instance if the value pointed to by RmiPropertyContainer.KEY_EXPORTPORT changed. This means that the current object is unable to re-export 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
PortReloadException()
          Constructs a ClassReloadException with no detail message.
PortReloadException(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

PortReloadException

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


PortReloadException

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