com.gwtplatform.dispatch.client.actionhandler
Class ClientActionHandlerMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.gwtplatform.dispatch.client.actionhandler.ClientActionHandlerMismatchException
- All Implemented Interfaces:
- Serializable
public class ClientActionHandlerMismatchException
- extends RuntimeException
This exception is throw as a side-effect of an error calling
DefaultClientActionHandlerRegistry.register(com.gwtplatform.dispatch.client.actionhandler.ClientActionHandler, ?>)
. A provider was
registered to provide an client-side action handler for an action, but this
action was not the same action as specified by
ClientActionHandler.getActionType()
.
- Author:
- Brendan Doherty
- See Also:
- Serialized Form
ClientActionHandlerMismatchException
public ClientActionHandlerMismatchException(Class<? extends Action<?>> requestedActionType,
Class<?> supportedActionType)
getRequestedActionType
public Class<? extends Action<?>> getRequestedActionType()
getSupportedActionType
public Class<?> getSupportedActionType()
toString
public String toString()
- Overrides:
toString
in class Throwable
Copyright © 2010-2012 ArcBees. All Rights Reserved.