org.xcmis.client.gwt.rest
Class ExceptionThrownEvent
java.lang.Object
com.google.gwt.event.shared.GwtEvent<H>
org.xcmis.client.gwt.rest.ServerExceptionEvent<ExceptionThrownHandler>
org.xcmis.client.gwt.rest.ExceptionThrownEvent
public class ExceptionThrownEvent
- extends ServerExceptionEvent<ExceptionThrownHandler>
Created by The eXo Platform SAS .
- Version:
- $
- Author:
- Vitaliy Gulyy
| Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
com.google.gwt.event.shared.GwtEvent.Type<H> |
| Methods inherited from class com.google.gwt.event.shared.GwtEvent |
assertLive, getSource, isLive, kill, revive, toDebugString, toString |
TYPE
public static final com.google.gwt.event.shared.GwtEvent.Type<ExceptionThrownHandler> TYPE
- GWT Event type.
ExceptionThrownEvent
public ExceptionThrownEvent()
- Default constructor.
ExceptionThrownEvent
public ExceptionThrownEvent(Throwable throwable)
- Parameters:
throwable - exception
ExceptionThrownEvent
public ExceptionThrownEvent(String errorMessage)
- Parameters:
errorMessage - error message
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.