org.eclipse.m2m.atl.engine
Class CompileTimeError
java.lang.Object
org.eclipse.m2m.atl.engine.CompileTimeError
public class CompileTimeError
- extends java.lang.Object
Describes an error which has occured when compiling an ATL script.
Constructor Summary |
CompileTimeError(java.lang.String severity,
java.lang.String location,
java.lang.String description)
Constructs an instance of CompileError. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompileTimeError
public CompileTimeError(java.lang.String severity,
java.lang.String location,
java.lang.String description)
- Constructs an instance of CompileError.
- Parameters:
location
- the location at which the error occureddescription
- the description of the error
getDescription
public java.lang.String getDescription()
- Returns:
- the description
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description
- the description to set
getLocation
public java.lang.String getLocation()
- Returns:
- the location (format = linenumber:columnnumber)
setLocation
public void setLocation(java.lang.String location)
- Parameters:
location
- the location to set
getSeverity
public java.lang.String getSeverity()
- Returns:
- the severity
setSeverity
public void setSeverity(java.lang.String severity)
- Parameters:
severity
- the severity to set