Class NotFoundException

All Implemented Interfaces:
Serializable

public final class NotFoundException extends ServiceException
Class exception for requests to a non-existing resource.

This reproduce HTTP code 404.

Author:
ActiveViam
See Also:
  • Field Details

    • CODE

      public static final int CODE
      The code that uniquely identifies this exception (inspired from HTTP codes).
      See Also:
  • Constructor Details

    • NotFoundException

      public NotFoundException(String message)
      Constructor.
      Parameters:
      message - the detailed message
    • NotFoundException

      public NotFoundException(String message, Throwable cause)
      Constructor.
      Parameters:
      message - the detailed message
      cause - the exception that caused this one
    • NotFoundException

      public NotFoundException(Throwable cause)
      Constructor.
      Parameters:
      cause - the exception that caused this one