Class TemplateException

    • Constructor Detail

      • TemplateException

        public TemplateException​(@Nonnull
                                 TemplateException.ErrorCodes error)
        Initializes a new instance of the TemplateException class with a provided error code.
        Parameters:
        error - The error code.
      • TemplateException

        public TemplateException​(@Nonnull
                                 TemplateException.ErrorCodes errorCode,
                                 @Nullable
                                 String message)
        Initializes a new instance of the TemplateException class with a provided error code.
        Parameters:
        errorCode - The error code.
        message - The exception message.
      • TemplateException

        public TemplateException​(@Nonnull
                                 TemplateException.ErrorCodes errorCode,
                                 @Nullable
                                 String message,
                                 @Nullable
                                 Throwable innerException)
        Initializes a new instance of the TemplateException class with a provided error code.
        Parameters:
        errorCode - The error code.
        message - The exception message.
        innerException - The exception that is the cause of the current exception.