public abstract class AbstractConfigurationException extends SyntaxErrorException implements ConfigurationIssue, Runnable
T-Plan Robot Enterprise, (C) 2009-2022 T-Plan Limited. All rights reserved.
Constructor and Description |
---|
AbstractConfigurationException(String exceptionMessage,
String popupMessage,
String okButton,
Icon okIcon)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getPriority()
Get the priority between 0 (lowest) and 100 (highest).
|
boolean |
handle()
Called on GUI shut down.
|
abstract void |
ok()
Method do be called when user selects the OK button.
|
void |
run() |
void |
setOwner(TestScriptInterpret t)
Set the test script that produced this throwable.
|
addStackItems, getElement, getErrorDescriptions, getErrorLocations, getLineIndex, getScriptFile, getStack, setElement, setLineIndex, setScriptFile
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AbstractConfigurationException(String exceptionMessage, String popupMessage, String okButton, Icon okIcon)
exceptionMessage
- the exception message.popupMessage
- the message to be displayed to the user (may be HTML).okButton
- text of the OK button.okIcon
- icon for the OK button.public boolean handle()
ConfigurationIssue
handle
in interface ConfigurationIssue
public void setOwner(TestScriptInterpret t)
ConfigurationIssue
setOwner
in interface ConfigurationIssue
t
- the owning test script.public int getPriority()
ConfigurationIssue
getPriority
in interface ConfigurationIssue
public abstract void ok()