public class ParseProblem
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ParseProblem.Type |
Constructor and Description |
---|
ParseProblem(ParseProblem.Type type,
java.lang.String message,
java.lang.String sourceName,
int offset,
int length)
Constructs a new ParseProblem.
|
Modifier and Type | Method and Description |
---|---|
int |
getFileOffset() |
int |
getLength() |
java.lang.String |
getMessage() |
java.lang.String |
getSourceName() |
ParseProblem.Type |
getType() |
void |
setFileOffset(int offset) |
void |
setLength(int length) |
void |
setMessage(java.lang.String msg) |
void |
setSourceName(java.lang.String name) |
void |
setType(ParseProblem.Type type) |
java.lang.String |
toString() |
public ParseProblem(ParseProblem.Type type, java.lang.String message, java.lang.String sourceName, int offset, int length)
public ParseProblem.Type getType()
public void setType(ParseProblem.Type type)
public java.lang.String getMessage()
public void setMessage(java.lang.String msg)
public java.lang.String getSourceName()
public void setSourceName(java.lang.String name)
public int getFileOffset()
public void setFileOffset(int offset)
public int getLength()
public void setLength(int length)
public java.lang.String toString()
toString
in class java.lang.Object