Class UnformattableValueException

All Implemented Interfaces:
Direct Known Subclasses:
UnknownDateTypeFormattingUnsupportedException, UnknownDateTypeParsingUnsupportedException

public class UnformattableValueException extends TemplateValueFormatException
Thrown when a TemplateModel can't be formatted because of the value/properties of it are outside of that the TemplateValueFormat supports. For example, a formatter may not support dates before year 1, or can't format NaN. The most often used subclass is UnknownDateTypeFormattingUnsupportedException.
See Also:
Serialized Form
  • Constructor Details

    • UnformattableValueException

      public UnformattableValueException(String message, Throwable cause)
    • UnformattableValueException

      public UnformattableValueException(String message)