Package step.core.reports
Class Error
java.lang.Object
step.core.reports.Error
This class is used to represent all errors that might occur
in STEP either in a control or a function (aka keyword).
It can represent a technical error (i.e. an unhandled or unexpected error)
or a clearly identified error in the SUT
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
type
-
layer
-
msg
-
code
-
root
protected boolean root
-
-
Constructor Details
-
Error
- Parameters:
type
- the type of errormessage
- the detailed error message that will be reported 1:1 to the end user)
-
Error
- Parameters:
type
- the type of errormessage
- the detailed error message (that will be reported 1:1 to the end user)code
- a free definable error code to uniquely classify the error that can be used to filter errors in reports
-
Error
- Parameters:
type
- the type of errorlayer
- a free text field that describes the layer of the application where the error occurredmsg
- the detailed error message (that will be reported 1:1 to the end user)code
- a free definable error code to uniquely classify the error that can be used to filter errors in reportsroot
- a boolean that defines if this is the root cause of an error or a rethrown error (set to true in
-
Error
public Error()
-
-
Method Details
-
getType
-
setType
-
getMsg
-
setMsg
-
getCode
-
setCode
-
isRoot
public boolean isRoot() -
setRoot
public void setRoot(boolean root) -
getLayer
-
setLayer
-