Class NotFoundException

All Implemented Interfaces:
Serializable

public class NotFoundException extends AxiomException
A resource that does not exist (404). The runtime also uses this status for unmatched routes.
See Also:
  • Constructor Details

    • NotFoundException

      public NotFoundException()
      Creates the exception with code not_found.
    • NotFoundException

      public NotFoundException(String code)
      Creates the exception with a specific safe code.
      Parameters:
      code - machine-readable code