com.ibm.websphere.wlm.exception
Class InvalidRegistrationKeyException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.ws.exception.WsException
                    |
                    +--com.ibm.websphere.wlm.exception.ClusterException
                          |
                          +--com.ibm.websphere.wlm.exception.InvalidRegistrationKeyException
All Implemented Interfaces:
java.io.Serializable, com.ibm.ws.exception.WsNestedException

public class InvalidRegistrationKeyException
extends ClusterException

This exception is thrown when a server weight is modified via the Cluster MBean and the key used does not match the workload controller (WLC) currently registered for that cluster. Any code that wishes to modify the server weights for a cluster must first register as the controller for the given cluster using the Cluster MBean register() method before attempting to modify the server weights.

Version:
1.3
See Also:
javax.management.MBeanException, ClusterException, Serialized Form

Constructor Summary
InvalidRegistrationKeyException()
           
InvalidRegistrationKeyException(java.lang.String message)
           
 
Methods inherited from class com.ibm.ws.exception.WsException
getCause, initCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidRegistrationKeyException

public InvalidRegistrationKeyException()

InvalidRegistrationKeyException

public InvalidRegistrationKeyException(java.lang.String message)