Package org.apache.wicket.behavior
Class InvalidBehaviorIdException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.wicket.WicketRuntimeException
-
- org.apache.wicket.behavior.InvalidBehaviorIdException
-
- All Implemented Interfaces:
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
Constructors Constructor Description InvalidBehaviorIdException(Component component, int behaviorId)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBehaviorId()
Component
getComponent()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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
-
-