Class HandlebarsException

All Implemented Interfaces:
Serializable

@Deprecated(since="2024-07-10") public class HandlebarsException extends RuntimeException
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 Details

    • HandlebarsException

      public HandlebarsException(HandlebarsError error)
      Deprecated.
      Creates a new HandlebarsException.
      Parameters:
      error - The hbs error's. Required.
    • HandlebarsException

      public HandlebarsException(Throwable cause)
      Deprecated.
      Creates a new HandlebarsException.
      Parameters:
      cause - The error's cause.
    • HandlebarsException

      public HandlebarsException(HandlebarsError error, Throwable cause)
      Deprecated.
      Creates a new HandlebarsException.
      Parameters:
      error - The error's message.
      cause - The error's cause.
    • HandlebarsException

      public HandlebarsException(String message, Throwable cause)
      Deprecated.
      Creates a new HandlebarsException.
      Parameters:
      message - The error's message.
      cause - The error's cause.
  • Method Details

    • getError

      public HandlebarsError getError()
      Deprecated.
      A handlebars error.
      Returns:
      A handlebars error. It might be null.