org.apache.commons.jci.compilers
Class RhinoCompilationProblem

java.lang.Object
  extended by org.apache.commons.jci.compilers.RhinoCompilationProblem
All Implemented Interfaces:
CompilationProblem

public final class RhinoCompilationProblem
extends java.lang.Object
implements CompilationProblem

Author:
tcurdt

Constructor Summary
RhinoCompilationProblem(java.lang.String pMessage, java.lang.String pFileName, int pLine, java.lang.String pScript, int pColumn, boolean pError)
           
 
Method Summary
 int getEndColumn()
           
 int getEndLine()
          position of where the problem stops in the source code
 java.lang.String getFileName()
          name of the file where the problem occurred
 java.lang.String getMessage()
          the description of the problem
 int getStartColumn()
           
 int getStartLine()
          position of where the problem starts in the source code
 boolean isError()
          is the problem an error and compilation cannot continue or just a warning and compilation can proceed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RhinoCompilationProblem

public RhinoCompilationProblem(java.lang.String pMessage,
                               java.lang.String pFileName,
                               int pLine,
                               java.lang.String pScript,
                               int pColumn,
                               boolean pError)
Method Detail

getEndColumn

public int getEndColumn()
Specified by:
getEndColumn in interface CompilationProblem

getEndLine

public int getEndLine()
Description copied from interface: CompilationProblem
position of where the problem stops in the source code

Specified by:
getEndLine in interface CompilationProblem
Returns:

getFileName

public java.lang.String getFileName()
Description copied from interface: CompilationProblem
name of the file where the problem occurred

Specified by:
getFileName in interface CompilationProblem
Returns:

getMessage

public java.lang.String getMessage()
Description copied from interface: CompilationProblem
the description of the problem

Specified by:
getMessage in interface CompilationProblem
Returns:

getStartColumn

public int getStartColumn()
Specified by:
getStartColumn in interface CompilationProblem

getStartLine

public int getStartLine()
Description copied from interface: CompilationProblem
position of where the problem starts in the source code

Specified by:
getStartLine in interface CompilationProblem
Returns:

isError

public boolean isError()
Description copied from interface: CompilationProblem
is the problem an error and compilation cannot continue or just a warning and compilation can proceed

Specified by:
isError in interface CompilationProblem
Returns:


Copyright © 2004-2009 Apache Software Foundation. All Rights Reserved.