org.xcmis.client.gwt.rest
Class ExceptionThrownEvent

java.lang.Object
  extended by com.google.gwt.event.shared.GwtEvent<H>
      extended by org.xcmis.client.gwt.rest.ServerExceptionEvent<ExceptionThrownHandler>
          extended by org.xcmis.client.gwt.rest.ExceptionThrownEvent

public class ExceptionThrownEvent
extends ServerExceptionEvent<ExceptionThrownHandler>

Created by The eXo Platform SAS .

Version:
$
Author:
Vitaliy Gulyy

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H>
 
Field Summary
static com.google.gwt.event.shared.GwtEvent.Type<ExceptionThrownHandler> TYPE
          GWT Event type.
 
Constructor Summary
ExceptionThrownEvent()
          Default constructor.
ExceptionThrownEvent(String errorMessage)
           
ExceptionThrownEvent(Throwable throwable)
           
 
Method Summary
protected  void dispatch(ExceptionThrownHandler handler)
           
 com.google.gwt.event.shared.GwtEvent.Type<ExceptionThrownHandler> getAssociatedType()
           
 Throwable getError()
           
 String getErrorMessage()
           
 void setException(Throwable exception)
           
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive, toDebugString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final com.google.gwt.event.shared.GwtEvent.Type<ExceptionThrownHandler> TYPE
GWT Event type.

Constructor Detail

ExceptionThrownEvent

public ExceptionThrownEvent()
Default constructor.


ExceptionThrownEvent

public ExceptionThrownEvent(Throwable throwable)
Parameters:
throwable - exception

ExceptionThrownEvent

public ExceptionThrownEvent(String errorMessage)
Parameters:
errorMessage - error message
Method Detail

getAssociatedType

public com.google.gwt.event.shared.GwtEvent.Type<ExceptionThrownHandler> getAssociatedType()
Specified by:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<ExceptionThrownHandler>
See Also:
GwtEvent.getAssociatedType()

setException

public void setException(Throwable exception)
Specified by:
setException in class ServerExceptionEvent<ExceptionThrownHandler>
See Also:
ServerExceptionEvent.setException(java.lang.Throwable)

getError

public Throwable getError()
Returns:
Throwable exception

dispatch

protected void dispatch(ExceptionThrownHandler handler)
Specified by:
dispatch in class com.google.gwt.event.shared.GwtEvent<ExceptionThrownHandler>
See Also:
GwtEvent.dispatch(com.google.gwt.event.shared.EventHandler)

getErrorMessage

public String getErrorMessage()
Returns:
String error message


Copyright © 2010 eXo Platform SAS. All Rights Reserved.