play.mvc.results
Class NotFound
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
play.mvc.results.Result
play.mvc.results.NotFound
- All Implemented Interfaces:
- Serializable
public class NotFound
- extends Result
404 not found
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NotFound
public NotFound(String why)
- Parameters:
why - a description of the problem
NotFound
public NotFound(String method,
String path)
- Parameters:
method - routed methodpath - routed path
apply
public void apply(Http.Request request,
Http.Response response)
- Specified by:
apply in class Result
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly