com.ibm.premises.reusable.exceptions
Class VoidMethodNotSupportedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.ibm.premises.reusable.exceptions.ReusableComponentRuntimeException
                  extended by com.ibm.premises.reusable.exceptions.VoidMethodNotSupportedException
All Implemented Interfaces:
java.io.Serializable

public class VoidMethodNotSupportedException
extends ReusableComponentRuntimeException

Should be thrown by ReusableComponent agent classes and bean implementations when the default void methods are called instead of a non-void query or signal method. For example, throw this from a RUC Agent class that exposes only non-void methods when onIBMSensorEvent is called. For example, throw this from a RUC Bean class that exposes only non-void methods when handleIBMSensorEvent is called.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
VoidMethodNotSupportedException()
           
 
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
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

VoidMethodNotSupportedException

public VoidMethodNotSupportedException()


Copyright © 2005 - 2009 IBM Corp. All Rights Reserved.