Module io.jooby

Class NotFoundException

All Implemented Interfaces:
Serializable

public class NotFoundException extends StatusCodeException
When a request doesn't match any of the available routes.
Since:
2.4.0
Author:
edgar
See Also:
  • Constructor Details

    • NotFoundException

      public NotFoundException(@NonNull String path)
      Creates a not found exception.
      Parameters:
      path - Requested path.
  • Method Details

    • getRequestPath

      @NonNull public String getRequestPath()
      Requested path.
      Returns:
      Requested path.