org.apache.wicket.behavior
Class InvalidBehaviorIdException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.wicket.WicketRuntimeException
                  extended by org.apache.wicket.behavior.InvalidBehaviorIdException
All Implemented Interfaces:
java.io.Serializable

public class InvalidBehaviorIdException
extends WicketRuntimeException

Thrown when a behavior with an invalid id is requested

Author:
ivaynberg (Igor Vaynberg)
See Also:
Serialized Form

Constructor Summary
InvalidBehaviorIdException(Component component, int behaviorId)
          Constructor
 
Method Summary
 int getBehaviorId()
           
 Component getComponent()
           
 
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

InvalidBehaviorIdException

public InvalidBehaviorIdException(Component component,
                                  int behaviorId)
Constructor

Parameters:
component -
behaviorId -
Method Detail

getComponent

public Component getComponent()
Returns:
component which was thought to contain the behavior

getBehaviorId

public int getBehaviorId()
Returns:
behavior id


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.