com.sdm.quasar.client.core.dialog.impl
Interface DialogExceptionHandler


public interface DialogExceptionHandler

Version:
1.$Revision$
Author:
Thomas Wolf

Method Summary
 void handleRuntimeException(DialogInstanceId diid, java.lang.RuntimeException exception, java.lang.String errorMessage)
          Method for exception handling of RuntimeException within lifecycle methods.
 

Method Detail

handleRuntimeException

public void handleRuntimeException(DialogInstanceId diid,
                                   java.lang.RuntimeException exception,
                                   java.lang.String errorMessage)
                            throws DialogException,
                                   DisposeException
Method for exception handling of RuntimeException within lifecycle methods. The RuntimeException is wrapped in a DialogException. Depending on #disposeOnRuntimeException the current dialog is disposed.

Parameters:
diid - the Id of the dialog the error handling is done for
exception - the RuntimeException to handle
errorMessage - a message for the thrown exception
Throws:
DialogException - ever the method is called. except exceptions while disposing
DisposeException - when exceptions occure while disposing