public class Problem extends Object
Constructor and Description |
---|
Problem(String type,
String path,
int fline,
int fcolumn,
int lline,
int lcolumn,
String msg) |
Problem(String type,
String path,
int fline,
int fcolumn,
int lline,
int lcolumn,
String msg,
String location)
Constructor: Creates a new problem object
|
Modifier and Type | Method and Description |
---|---|
int |
getFirstColumn()
Get the number of the first column
|
int |
getFirstLine()
Get the first line of the problem
|
int |
getLastColumn()
Get the number of the last column
|
int |
getLastLine()
Get the number of the last line
|
String |
getLocation()
Get the error location
|
String |
getMessage()
Get the message of the problem
|
String |
getPath()
Get the path where the problem come from
|
String |
getType()
Get the problem type
|
String |
toString() |
public Problem(String type, String path, int fline, int fcolumn, int lline, int lcolumn, String msg, String location)
type
- - The type of the problempath
- - The path stringfline
- - The number of the first linefcolumn
- - The number of the first columnlline
- - The number of the last linelcolumn
- - The number of the last columnmsg
- - The message textlocation
- - The locationpublic String getType()
public String getMessage()
public String getPath()
public int getFirstLine()
public int getFirstColumn()
public int getLastLine()
public int getLastColumn()
public String getLocation()
Copyright © 2014 Uppsala University and Aalborg University. All Rights Reserved.