play.exceptions
Class JavaCompilationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by play.exceptions.PlayException
                  extended by play.exceptions.JavaException
                      extended by play.exceptions.JavaCompilationException
All Implemented Interfaces:
java.io.Serializable, SourceAttachment

public class JavaCompilationException
extends JavaException

A java compilation error

See Also:
Serialized Form

Constructor Summary
JavaCompilationException(ApplicationClasses.ApplicationClass applicationClass, org.eclipse.jdt.core.compiler.IProblem problem)
           
 
Method Summary
 java.lang.String getErrorDescription()
           
 java.lang.String getErrorTitle()
           
 java.lang.String getMessage(org.eclipse.jdt.core.compiler.IProblem problem)
           
 org.eclipse.jdt.core.compiler.IProblem getProblem()
           
 
Methods inherited from class play.exceptions.JavaException
getLineNumber, getSource, getSourceFile, isSourceAvailable
 
Methods inherited from class play.exceptions.PlayException
getId, getInterestingStrackTraceElement
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaCompilationException

public JavaCompilationException(ApplicationClasses.ApplicationClass applicationClass,
                                org.eclipse.jdt.core.compiler.IProblem problem)
Method Detail

getProblem

public org.eclipse.jdt.core.compiler.IProblem getProblem()

getErrorTitle

public java.lang.String getErrorTitle()
Specified by:
getErrorTitle in class PlayException

getErrorDescription

public java.lang.String getErrorDescription()
Specified by:
getErrorDescription in class PlayException

getMessage

public java.lang.String getMessage(org.eclipse.jdt.core.compiler.IProblem problem)


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly