Package com.atlassian.bamboo.exception
Class NotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.atlassian.bamboo.exception.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 Summary
Constructors Constructor Description NotFoundException()
NotFoundException(String message)
NotFoundException(String message, Throwable throwable)
NotFoundException(Throwable throwable)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-