public class Problem extends Object
| Constructor and Description |
|---|
Problem(String message,
int sourceStart,
int sourceEnd,
int sourceLineNumber)
Constructs a new
Problem with the given attributes. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getMessage()
Returns the message of this problem.
|
int |
getSourceEnd()
Returns the end position of this problem or -1 if unknown.
|
int |
getSourceLineNumber()
Returns the source line number of the start of the problem.
|
int |
getSourceStart()
Returns the start position of this problem or -1 if unknown.
|
int |
hashCode() |
String |
toString() |
public Problem(String message, int sourceStart, int sourceEnd, int sourceLineNumber)
Problem with the given attributes.message - the message of this problem in a human readable formsourceStart - the start position of the problemsourceEnd - the end position of the problemsourceLineNumber - the source line number of the start of the problempublic String getMessage()
public int getSourceStart()
public int getSourceEnd()
public int getSourceLineNumber()
Copyright © 2019 JBoss by Red Hat. All rights reserved.