Package play.api
Class PlayException.RichDescription
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- play.api.UsefulException
-
- play.api.PlayException
-
- play.api.PlayException.ExceptionAttachment
-
- play.api.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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class play.api.PlayException
PlayException.ExceptionAttachment, PlayException.ExceptionSource, PlayException.InterestingLines, PlayException.RichDescription
-
-
Field Summary
-
Fields inherited from class play.api.UsefulException
cause, description, id, title
-
-
Constructor Summary
Constructors Constructor Description RichDescription(String title, String description)RichDescription(String title, String description, Throwable cause)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract StringhtmlDescription()The new description formatted as HTML.-
Methods inherited from class play.api.PlayException.ExceptionAttachment
content, subTitle
-
Methods inherited from class play.api.UsefulException
toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Method Detail
-
htmlDescription
public abstract String htmlDescription()
The new description formatted as HTML.- Returns:
- the new description formatted as HTML.
-
-