Class TemplateException

    • Constructor Summary

      Constructors 
      Constructor Description
      TemplateException()
      Creates a new TemplateException without detail message.
      TemplateException​(java.lang.String msg)
      Constructs a TemplateException with the specified detail message.
      TemplateException​(java.lang.String msg, java.lang.Throwable cause)
      Constructs a TemplateException with the specified error message and also the specified root cause exception.
      TemplateException​(java.lang.Throwable cause)
      Constructor to create exception to wrap another exception.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TemplateException

        public TemplateException()
        Creates a new TemplateException without detail message.
      • TemplateException

        public TemplateException​(java.lang.String msg)
        Constructs a TemplateException with the specified detail message.
        Parameters:
        msg - a message to associate with the exception
      • TemplateException

        public TemplateException​(java.lang.Throwable cause)
        Constructor to create exception to wrap another exception.
        Parameters:
        cause - the real cause of the exception
      • TemplateException

        public TemplateException​(java.lang.String msg,
                                 java.lang.Throwable cause)
        Constructs a TemplateException with the specified error message and also the specified root cause exception. The root cause exception is generally for TypeConversionException's root cause or something that might have caused a TemplateException.
        Parameters:
        msg - the detail message
        cause - the real cause of the exception