public class Problem extends Object
Modifier and Type | Field | Description |
---|---|---|
static Comparator<Problem> |
PROBLEM_BY_BEGIN_POSITION |
Sorts problems on position.
|
Constructor | Description |
---|---|
Problem(String message,
TokenRange location,
Throwable cause) |
Modifier and Type | Method | Description |
---|---|---|
Optional<Throwable> |
getCause() |
|
Optional<TokenRange> |
getLocation() |
|
String |
getMessage() |
|
Optional<TokenRange> |
getRange() |
Deprecated.
use getLocation()
|
String |
getVerboseMessage() |
|
String |
toString() |
public static Comparator<Problem> PROBLEM_BY_BEGIN_POSITION
public Problem(String message, TokenRange location, Throwable cause)
public String getMessage()
public String getVerboseMessage()
public Optional<TokenRange> getLocation()
@Deprecated public Optional<TokenRange> getRange()
Copyright © 2007–2019. All rights reserved.