Class InvalidTemplateException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class InvalidTemplateException extends NestedRuntimeExceptionThrown when a template is invalid.
-
-
Constructor Summary
Constructors Constructor Description InvalidTemplateException(String message, Throwable cause)InvalidTemplateException(String message)InvalidTemplateException(String message, List<TemplateErrorDetail> errors)InvalidTemplateException(String message, List<TemplateErrorDetail> errors, Throwable cause)
-
Method Summary
Modifier and Type Method Description final List<TemplateErrorDetail>getErrors()List of detailed error information, if available final StringgetDetailedMessage()Returns a detailed message including all error information. -
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
InvalidTemplateException
InvalidTemplateException(String message)
-
InvalidTemplateException
InvalidTemplateException(String message, List<TemplateErrorDetail> errors)
-
InvalidTemplateException
InvalidTemplateException(String message, List<TemplateErrorDetail> errors, Throwable cause)
-
-
Method Detail
-
getErrors
final List<TemplateErrorDetail> getErrors()
List of detailed error information, if available
-
getDetailedMessage
final String getDetailedMessage()
Returns a detailed message including all error information.
-
-
-
-