/** * Returns the content to use in the HTTP response generated for this exception. * * Developer's note: override to provide a content different from the exception message. * Alternatively you can override the writeTo method for full control over the response. * * @return the content to use in the response. */ public String getContent() { return getMessage(); }
/** * Returns the content to use in the HTTP response generated for this exception. * * Developer's note: override to provide a content different from the exception message. * Alternatively you can override the writeTo method for full control over the response. * * @return the content to use in the response. */ public String getContent() { return getMessage(); }