com.atlassian.bamboo.exception
Class ConflictException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.atlassian.bamboo.exception.ConflictException
All Implemented Interfaces:
Serializable

public class ConflictException
extends RuntimeException

Exception to be used when Bamboo REST endpoint should return CONFLICT (409) response. Can't use Jersey's ConflictException because it can't be mapped using ExceptionMapper ContainerResponse.mapMappableContainerException(com.sun.jersey.api.container.MappableContainerException)

See Also:
Serialized Form

Constructor Summary
ConflictException(String message)
           
ConflictException(String message, Throwable cause)
           
ConflictException(Throwable cause)
           
 
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

ConflictException

public ConflictException(String message)

ConflictException

public ConflictException(String message,
                         Throwable cause)

ConflictException

public ConflictException(Throwable cause)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.