Package play.api

Class PlayException.RichDescription

All Implemented Interfaces:
Serializable
Enclosing class:
PlayException

public abstract static class PlayException.RichDescription extends PlayException.ExceptionAttachment
Adds a rich HTML description to a Play exception.
See Also:
  • Constructor Details

    • RichDescription

      public RichDescription(String title, String description, Throwable cause)
    • RichDescription

      public RichDescription(String title, String description)
  • Method Details

    • htmlDescription

      public abstract String htmlDescription()
      The new description formatted as HTML.
      Returns:
      the new description formatted as HTML.