org.eclipse.m2m.atl.engine
Class CompileTimeError

java.lang.Object
  extended by 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.
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getLocation()
           
 java.lang.String getSeverity()
           
 void setDescription(java.lang.String description)
           
 void setLocation(java.lang.String location)
           
 void setSeverity(java.lang.String severity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 occured
description - the description of the error
Method Detail

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

Copyright 2007 IBM Corporation and others.
All Rights Reserved.