Package play.api
Class PlayException.ExceptionAttachment
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
play.api.UsefulException
play.api.PlayException
play.api.PlayException.ExceptionAttachment
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PlayException.RichDescription
- Enclosing class:
- PlayException
Adds any attachment 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
ConstructorsConstructorDescriptionExceptionAttachment(String title, String description) ExceptionAttachment(String title, String description, Throwable cause) -
Method Summary
Methods 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
-
ExceptionAttachment
-
ExceptionAttachment
-
-
Method Details
-
subTitle
Content title.- Returns:
- content title.
-
content
Content to be displayed.- Returns:
- content to be displayed.
-