Package com.github.jknack.handlebars
Class HandlebarsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.jknack.handlebars.HandlebarsException
- All Implemented Interfaces:
Serializable
Deprecated.
com.github.jknack.handlebars package is deprecated and marked for removal in subsequent releases which will involve removal of the handlebars dependency in AEM.
If something goes wrong this exception will happen.
- Since:
- 0.1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a newHandlebarsException.HandlebarsException(HandlebarsError error, Throwable cause) Deprecated.Creates a newHandlebarsException.HandlebarsException(String message, Throwable cause) Deprecated.Creates a newHandlebarsException.HandlebarsException(Throwable cause) Deprecated.Creates a newHandlebarsException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HandlebarsException
Deprecated.Creates a newHandlebarsException.- Parameters:
error- The hbs error's. Required.
-
HandlebarsException
Deprecated.Creates a newHandlebarsException.- Parameters:
cause- The error's cause.
-
HandlebarsException
Deprecated.Creates a newHandlebarsException.- Parameters:
error- The error's message.cause- The error's cause.
-
HandlebarsException
Deprecated.Creates a newHandlebarsException.- Parameters:
message- The error's message.cause- The error's cause.
-
-
Method Details
-
getError
Deprecated.A handlebars error.- Returns:
- A handlebars error. It might be null.
-