org.marketcetera.strategy
Class CompilationFailed

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.marketcetera.util.except.I18NException
              extended by org.marketcetera.core.CoreException
                  extended by org.marketcetera.strategy.StrategyException
                      extended by org.marketcetera.strategy.CompilationFailed
All Implemented Interfaces:
Serializable, I18NThrowable

public class CompilationFailed
extends StrategyException

Indicates that a strategy could not be compiled.

Since:
1.0.0
Version:
$Id: CompilationFailed.java 16154 2012-07-14 16:34:05Z colin $
Author:
Colin DuPlantis
See Also:
Serialized Form

Nested Class Summary
static class CompilationFailed.Diagnostic
          Diagnostic information provided by the compiler for a compilation error or warning.
static class CompilationFailed.Type
          Indicates what type of diagnostic was returned from the compiler.
 
Constructor Summary
CompilationFailed(Strategy inStrategy)
          Create a new CompilationFailed instance.
CompilationFailed(Throwable inNested, Strategy inStrategy)
          Create a new CompilationFailed instance.
 
Method Summary
 List<CompilationFailed.Diagnostic> getDiagnostics()
          Gets the diagnostic information provided by the compiler.
 String toString()
           
 
Methods inherited from class org.marketcetera.util.except.I18NException
equals, getDetail, getI18NBoundMessage, getLocalizedDetail, getLocalizedMessage, hashCode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.marketcetera.util.except.I18NThrowable
getCause, getMessage
 

Constructor Detail

CompilationFailed

public CompilationFailed(Strategy inStrategy)
Create a new CompilationFailed instance.

Parameters:
inStrategy - a Strategy value

CompilationFailed

public CompilationFailed(Throwable inNested,
                         Strategy inStrategy)
Create a new CompilationFailed instance.

Parameters:
inNested - a Throwable value
inStrategy - a Strategy value
Method Detail

toString

public String toString()
Overrides:
toString in class Throwable

getDiagnostics

public List<CompilationFailed.Diagnostic> getDiagnostics()
Gets the diagnostic information provided by the compiler.

Returns:
a List<Diagnostic> value


Copyright © 2012. All Rights Reserved.