Package com.github.mustachejava
Class MustacheException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.mustachejava.MustacheException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
MustacheNotFoundException
public class MustacheException extends java.lang.RuntimeExceptionGenerally there is nothing you can do if it fails.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private TemplateContextcontext
-
Constructor Summary
Constructors Constructor Description MustacheException()MustacheException(java.lang.Exception e, TemplateContext context)MustacheException(java.lang.String message)MustacheException(java.lang.String message, TemplateContext context)MustacheException(java.lang.String message, java.lang.Throwable throwable)MustacheException(java.lang.String message, java.lang.Throwable throwable, TemplateContext context)MustacheException(java.lang.Throwable throwable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateContextgetContext()java.lang.StringgetMessage()voidsetContext(TemplateContext context)
-
-
-
Field Detail
-
context
private TemplateContext context
-
-
Constructor Detail
-
MustacheException
public MustacheException()
-
MustacheException
public MustacheException(java.lang.String message)
-
MustacheException
public MustacheException(java.lang.String message, java.lang.Throwable throwable)
-
MustacheException
public MustacheException(java.lang.String message, java.lang.Throwable throwable, TemplateContext context)
-
MustacheException
public MustacheException(java.lang.Throwable throwable)
-
MustacheException
public MustacheException(java.lang.String message, TemplateContext context)
-
MustacheException
public MustacheException(java.lang.Exception e, TemplateContext context)
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessagein classjava.lang.Throwable
-
setContext
public void setContext(TemplateContext context)
-
getContext
public TemplateContext getContext()
-
-