Class TemplateParsingException

  • All Implemented Interfaces:
    Serializable

    public class TemplateParsingException
    extends BaseUncheckedException
    this exception thrown when a resource of any type has a syntax or other error which prevents it from being parsed.
    When this resource is thrown, a best effort will be made to have useful information in the exception's message. For complete information, consult the runtime log.
    Since:
    2018-10-4
    Version:
    1.0.0
    Author:
    Abhishek Kumar
    See Also:
    Serialized Form
    • Constructor Detail

      • TemplateParsingException

        public TemplateParsingException​(String errorCode,
                                        String errorMessage)
        Constructor for set error code and message
        Parameters:
        errorCode - the error code
        errorMessage - the error message
      • TemplateParsingException

        public TemplateParsingException​(String errorCode,
                                        String errorMessage,
                                        Throwable rootCause)
        Constructor for setting error code, message and cause
        Parameters:
        errorCode - the error code
        errorMessage - the error message
        rootCause - the specified cause