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 NotFoundException
because it can't be mapped using ExceptionMapper
ContainerResponse.mapMappableContainerException(com.sun.jersey.api.container.MappableContainerException)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NotFoundException
public NotFoundException()
NotFoundException
public NotFoundException(String message)
NotFoundException
public NotFoundException(String message,
Throwable throwable)
NotFoundException
public NotFoundException(Throwable throwable)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.