org.ow2.jonas.eclipse.compiler
Class CompilerError

java.lang.Object
  extended by org.ow2.jonas.eclipse.compiler.CompilerError

public class CompilerError
extends Object

Error that happened during the compilation process.

Author:
Guillaume Sauthier

Constructor Summary
CompilerError(String message, Exception exception)
          Creates a new CompilerError coming from the execution.
CompilerError(String message, org.eclipse.jdt.core.compiler.IProblem problem)
          Creates a new CompilerError coming from the compilation itself.
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompilerError

public CompilerError(String message,
                     Exception exception)
Creates a new CompilerError coming from the execution.

Parameters:
message - Descriptive error message.
exception - Exception's cause.

CompilerError

public CompilerError(String message,
                     org.eclipse.jdt.core.compiler.IProblem problem)
Creates a new CompilerError coming from the compilation itself.

Parameters:
message - Descriptive error message.
problem - Original compilation problem.
Method Detail

toString

public String toString()
Overrides:
toString in class Object
Returns:
a String-ified representation of the error.


Copyright © 2010 OW2 Consortium. All Rights Reserved.