Class CompileTimeError
- java.lang.Object
-
- org.eclipse.m2m.atl.engine.compiler.CompileTimeError
-
public class CompileTimeError extends java.lang.Object
Describes an error which has occurred when compiling an ATL script.
-
-
Constructor Summary
Constructors Constructor Description CompileTimeError(java.lang.String severity, java.lang.String location, java.lang.String description)
Creates an instance of CompileError.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Returns the description.java.lang.String
getLocation()
Returns the location.java.lang.String
getSeverity()
Returns the severity.
-
-
-
Constructor Detail
-
CompileTimeError
public CompileTimeError(java.lang.String severity, java.lang.String location, java.lang.String description)
Creates an instance of CompileError.- Parameters:
severity
- the error severitylocation
- the location at which the error occurreddescription
- the description of the error
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Returns the description.- Returns:
- the description
-
getLocation
public java.lang.String getLocation()
Returns the location.- Returns:
- the location (format = linenumber:columnnumber)
-
getSeverity
public java.lang.String getSeverity()
Returns the severity.- Returns:
- the severity
-
-