Package jetbrains.mps.generator.impl
Class TemplateProcessingFailureException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- jetbrains.mps.generator.runtime.GenerationException
 - 
- jetbrains.mps.generator.impl.GenerationFailureException
 - 
- jetbrains.mps.generator.impl.TemplateProcessingFailureException
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 Serializable
public class TemplateProcessingFailureException extends GenerationFailureException
Describes an issue with a particular template. UnlikeGenerationFailureException, doesn't necessarily mean that the whole generation process shall stop. This exception is generally handled at the rule's level, and is not itself exposed to an end-user. FIXME now it's thrown to indicate structure issues with template models, which can (and shall) be checked statically, with model validation, hence there seems to be no reason to propagate this explicitly- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description TemplateProcessingFailureException(SNode templateNode, String message, IGeneratorLogger.ProblemDescription... extras) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IGeneratorLogger.ProblemDescription[]asProblemDescription()- 
Methods inherited from class jetbrains.mps.generator.runtime.GenerationException
getTemplateContext, getTemplateModelLocation, setTemplateContext, setTemplateModelLocation 
- 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
 - 
 
 - 
 
- 
- 
Method Detail
- 
asProblemDescription
public IGeneratorLogger.ProblemDescription[] asProblemDescription()
 
 - 
 
 -