org.oclparser.internal.core
Class OclParserErrorDresden
java.lang.Object
org.oclparser.internal.core.OclParserErrorDresden
- All Implemented Interfaces:
- IOclParserError
- public class OclParserErrorDresden
- extends java.lang.Object
- implements IOclParserError
Represents a parser error of the OCL Dresden Toolkit.
Constructor Summary |
OclParserErrorDresden(org.eclipse.core.resources.IResource resource,
java.lang.String errorMsg,
int line,
int column,
int severity)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OclParserErrorDresden
public OclParserErrorDresden(org.eclipse.core.resources.IResource resource,
java.lang.String errorMsg,
int line,
int column,
int severity)
- Parameters:
resource
- errorMsg
- line
- column
- severity
-
getErrorMsg
public java.lang.String getErrorMsg()
- Specified by:
getErrorMsg
in interface IOclParserError
- Returns:
- the error message.
getLine
public int getLine()
- Specified by:
getLine
in interface IOclParserError
- Returns:
- the line where the error occured.
getColumn
public int getColumn()
- Specified by:
getColumn
in interface IOclParserError
- Returns:
- the column where the error occured.
getSeverity
public int getSeverity()
- Specified by:
getSeverity
in interface IOclParserError
- Returns:
- the severity of the error.
getResource
public org.eclipse.core.resources.IResource getResource()
- Specified by:
getResource
in interface IOclParserError
- Returns:
- the OCL file resource where the error occured.