Class NotFoundException

  • All Implemented Interfaces:
    Serializable

    public class NotFoundException
    extends RuntimeException
    Exception to be used when Bamboo REST endpoint should return NOT_FOUND (404) response. Can't use Jersey's com.sun.jersey.api.NotFoundException because it can't be mapped using ExceptionMapper {@see com.sun.jersey.spi.container.ContainerResponse#mapMappableContainerException}
    See Also:
    Serialized Form
    • Constructor Detail

      • NotFoundException

        public NotFoundException()
      • NotFoundException

        public NotFoundException​(String message)
      • NotFoundException

        public NotFoundException​(String message,
                                 Throwable throwable)
      • NotFoundException

        public NotFoundException​(Throwable throwable)