Class HandlebarsException

  • All Implemented Interfaces:
    java.io.Serializable

    public class HandlebarsException
    extends java.lang.RuntimeException
    If something goes wrong this exception will happen.
    Since:
    0.1.0
    See Also:
    Serialized Form
    • Constructor Detail

      • HandlebarsException

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

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

        public HandlebarsException​(java.lang.String message,
                                   java.lang.Throwable cause)
        Creates a new HandlebarsException.
        Parameters:
        message - The error's message.
        cause - The error's cause.
    • Method Detail

      • getError

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