public static interface Reporter.SetLocation
Modifier and Type | Method and Description |
---|---|
Reporter.SetLocation |
context(java.lang.String context)
Set the context in the header.
|
Reporter.SetLocation |
details(java.lang.Object details)
Pass a DTO containing detailed information about the error.
|
Reporter.SetLocation |
file(java.lang.String file)
Set the file location
|
Reporter.SetLocation |
header(java.lang.String header)
Set the header/section location.
|
Reporter.SetLocation |
length(int length) |
Reporter.SetLocation |
line(int n)
Set the line number.
|
Report.Location |
location() |
Reporter.SetLocation |
method(java.lang.String methodName)
Set the method where the error is reported.
|
Reporter.SetLocation |
reference(java.lang.String reference)
Set a reference for the error (url or so)
|
Reporter.SetLocation file(java.lang.String file)
Reporter.SetLocation header(java.lang.String header)
Reporter.SetLocation context(java.lang.String context)
context
- Reporter.SetLocation method(java.lang.String methodName)
methodName
- Reporter.SetLocation line(int n)
Reporter.SetLocation reference(java.lang.String reference)
Reporter.SetLocation details(java.lang.Object details)
Report.Location location()
Reporter.SetLocation length(int length)