juzu
Class Response.Error
java.lang.Object
juzu.Response
juzu.Response.Error
- Enclosing class:
- Response
public static class Response.Error
- extends Response
| Methods inherited from class juzu.Response |
content, content, content, content, content, error, error, getProperties, notFound, notFound, notFound, notFound, notFound, ok, ok, ok, ok, ok, redirect, status, with, with, withHeader, withNo, without |
Response.Error
public Response.Error(Throwable cause)
Response.Error
public Response.Error(String message)
getCause
public Throwable getCause()
getMessage
public String getMessage()
getHtmlMessage
public String getHtmlMessage()
- Returns:
- the HTML formatted message, the default implementation returns the raw message
asStatus
public Response.Status asStatus(boolean verbose)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014 eXo Platform SAS. All rights reserved.