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:
-
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
ConstructorsConstructorDescriptionRichDescription(String title, String description) RichDescription(String title, String description, Throwable cause) -
Method Summary
Methods inherited from class play.api.PlayException.ExceptionAttachment
content, subTitleMethods inherited from class play.api.UsefulException
toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
RichDescription
-
RichDescription
-
-
Method Details
-
htmlDescription
The new description formatted as HTML.- Returns:
- the new description formatted as HTML.
-