Class XmlCompatibleWebApplicationErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.atlassian.bamboo.plugins.rest.common.exception.XmlCompatibleWebApplicationErrorException
-
- All Implemented Interfaces:
Serializable
public class XmlCompatibleWebApplicationErrorException extends RuntimeException
This exception does NOT support any media types other than JSON.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XmlCompatibleWebApplicationErrorException(XmlCompatibleRestErrorCollection errorCollection)
XmlCompatibleWebApplicationErrorException(String message)
XmlCompatibleWebApplicationErrorException(Collection<String> errors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlCompatibleRestErrorCollection
getErrorCollection()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
XmlCompatibleWebApplicationErrorException
public XmlCompatibleWebApplicationErrorException(XmlCompatibleRestErrorCollection errorCollection)
-
XmlCompatibleWebApplicationErrorException
public XmlCompatibleWebApplicationErrorException(Collection<String> errors)
-
XmlCompatibleWebApplicationErrorException
public XmlCompatibleWebApplicationErrorException(String message)
-
-
Method Detail
-
getErrorCollection
public XmlCompatibleRestErrorCollection getErrorCollection()
-
-