GWTP Dispatch client 0.6-redhat-1

com.gwtplatform.dispatch.client.actionhandler
Class ClientActionHandlerMismatchException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
ClientActionHandlerMismatchException(Class<? extends Action<?>> requestedActionType, Class<?> supportedActionType)
           
 
Method Summary
 Class<? extends Action<?>> getRequestedActionType()
           
 Class<?> getSupportedActionType()
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientActionHandlerMismatchException

public ClientActionHandlerMismatchException(Class<? extends Action<?>> requestedActionType,
                                            Class<?> supportedActionType)
Method Detail

getRequestedActionType

public Class<? extends Action<?>> getRequestedActionType()

getSupportedActionType

public Class<?> getSupportedActionType()

toString

public String toString()
Overrides:
toString in class Throwable

GWTP Dispatch client 0.6-redhat-1

Copyright © 2010-2012 ArcBees. All Rights Reserved.