public class ErrorMessage extends Object
| Constructor and Description |
|---|
ErrorMessage(int l,
int c,
String msg)
Build a new error message.
|
ErrorMessage(String ns,
int l,
int c,
String msg)
Build a new error message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
colNo()
The column number.
|
String |
getNamespace()
The script namespace.
|
int |
lineNo()
The line number.
|
String |
message()
Get the error message.
|
void |
setNamespace(String s)
Get the error namespace.
|
String |
toString() |
public ErrorMessage(int l,
int c,
String msg)
l - the pointed line numberc - the pointed column numbermsg - the error messagepublic int lineNo()
public int colNo()
public String getNamespace()
public void setNamespace(String s)
s - the new namespacepublic String message()
Copyright © 2016 University of Nice-Sophia Antipolis. All Rights Reserved.