Package play.api

Class UsefulException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PlayException

public abstract class UsefulException extends RuntimeException
A UsefulException is something useful to display in the User browser.
See Also:
  • Field Details

    • title

      public String title
      Exception title.
    • description

      public String description
      Exception description.
    • cause

      public Throwable cause
      Exception cause if defined.
    • id

      public String id
      Unique id for this exception.
  • Constructor Details

    • UsefulException

      public UsefulException(String message, Throwable cause)
    • UsefulException

      public UsefulException(String message)
  • Method Details