com.atlassian.bamboo.exception
Class NotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
NotFoundException()
           
NotFoundException(String message)
           
NotFoundException(String message, Throwable throwable)
           
NotFoundException(Throwable throwable)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.