org.apache.commons.jci.compilers
Class JaninoCompilationProblem

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

public final class JaninoCompilationProblem
extends Object
implements CompilationProblem

Janino version of a CompilationProblem

Author:
tcurdt

Constructor Summary
JaninoCompilationProblem(org.codehaus.commons.compiler.LocatedException pLocatedException)
           
JaninoCompilationProblem(org.codehaus.commons.compiler.Location pLocation, String pMessage, boolean pError)
           
JaninoCompilationProblem(String pFilename, org.codehaus.commons.compiler.Location pLocation, String pMessage, boolean pError)
           
JaninoCompilationProblem(String pFilename, String pMessage, boolean pError)
           
 
Method Summary
 int getEndColumn()
           
 int getEndLine()
           
 String getFileName()
           
 String getMessage()
           
 int getStartColumn()
           
 int getStartLine()
           
 boolean isError()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JaninoCompilationProblem

public JaninoCompilationProblem(org.codehaus.commons.compiler.LocatedException pLocatedException)

JaninoCompilationProblem

public JaninoCompilationProblem(org.codehaus.commons.compiler.Location pLocation,
                                String pMessage,
                                boolean pError)

JaninoCompilationProblem

public JaninoCompilationProblem(String pFilename,
                                String pMessage,
                                boolean pError)

JaninoCompilationProblem

public JaninoCompilationProblem(String pFilename,
                                org.codehaus.commons.compiler.Location pLocation,
                                String pMessage,
                                boolean pError)
Method Detail

isError

public boolean isError()
Specified by:
isError in interface CompilationProblem

getFileName

public String getFileName()
Specified by:
getFileName in interface CompilationProblem

getStartLine

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

getStartColumn

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

getEndLine

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

getEndColumn

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

getMessage

public String getMessage()
Specified by:
getMessage in interface CompilationProblem

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004–2013 The Apache Software Foundation. All rights reserved.