Class UnformattableValueException

All Implemented Interfaces:
Serializable
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.
Since:
2.3.24
See Also:
Serialized Form
  • Constructor Details

    • UnformattableValueException

      public UnformattableValueException(String message, Throwable cause)
    • UnformattableValueException

      public UnformattableValueException(String message)