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