public class DiagnosticError extends Object implements Renderable
Result
.Constructor and Description |
---|
DiagnosticError(String title,
Throwable throwable,
Result underlyingResult) |
DiagnosticError(String title,
Throwable throwable,
URI sourceLocation,
List<String> sourceLines,
int lineNumberOfSourceLines,
int lineNumberOfError,
Result underlyingResult) |
Modifier and Type | Method and Description |
---|---|
int |
getLineNumberOfError() |
int |
getLineNumberOfSourceLines() |
List<String> |
getSourceLines() |
URI |
getSourceLocation() |
Throwable |
getThrowable() |
String |
getTitle() |
Result |
getUnderlyingResult() |
void |
render(Context context,
Result result) |
public String getTitle()
public Throwable getThrowable()
public URI getSourceLocation()
public int getLineNumberOfSourceLines()
public int getLineNumberOfError()
public Result getUnderlyingResult()
public void render(Context context, Result result)
render
in interface Renderable
Copyright © 2019 ninjaframework. All rights reserved.