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
public abstract static class PlayException.ExceptionAttachment extends PlayException
Adds any attachment 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 ExceptionAttachment(String title, String description)ExceptionAttachment(String title, String description, Throwable cause)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Stringcontent()Content to be displayed.abstract StringsubTitle()Content title.-
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
-
-