Package docking.test
Class TestFailingErrorDisplayWrapper
- java.lang.Object
-
- docking.test.TestFailingErrorDisplayWrapper
-
- All Implemented Interfaces:
ErrorDisplay
public class TestFailingErrorDisplayWrapper extends java.lang.Object implements ErrorDisplay
An error display wrapper that allows us to fail tests when errors are encountered. This is a way for us to fail for exceptions that come from client code, but are handled by the error display service, while running tests.
-
-
Constructor Summary
Constructors Constructor Description TestFailingErrorDisplayWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
displayErrorMessage(ErrorLogger errorLogger, java.lang.Object originator, java.awt.Component parent, java.lang.String title, java.lang.Object message, java.lang.Throwable throwable)
void
displayInfoMessage(ErrorLogger errorLogger, java.lang.Object originator, java.awt.Component parent, java.lang.String title, java.lang.Object message)
void
displayWarningMessage(ErrorLogger errorLogger, java.lang.Object originator, java.awt.Component parent, java.lang.String title, java.lang.Object message, java.lang.Throwable throwable)
void
setErrorDisplayDelegate(ErrorDisplay delegate)
-
-
-
Method Detail
-
setErrorDisplayDelegate
public void setErrorDisplayDelegate(ErrorDisplay delegate)
-
displayInfoMessage
public void displayInfoMessage(ErrorLogger errorLogger, java.lang.Object originator, java.awt.Component parent, java.lang.String title, java.lang.Object message)
- Specified by:
displayInfoMessage
in interfaceErrorDisplay
-
displayErrorMessage
public void displayErrorMessage(ErrorLogger errorLogger, java.lang.Object originator, java.awt.Component parent, java.lang.String title, java.lang.Object message, java.lang.Throwable throwable)
- Specified by:
displayErrorMessage
in interfaceErrorDisplay
-
displayWarningMessage
public void displayWarningMessage(ErrorLogger errorLogger, java.lang.Object originator, java.awt.Component parent, java.lang.String title, java.lang.Object message, java.lang.Throwable throwable)
- Specified by:
displayWarningMessage
in interfaceErrorDisplay
-
-