com.atlassian.bamboo.plugins.rest.common.exception
Class WebApplicationErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.atlassian.bamboo.plugins.rest.common.exception.WebApplicationErrorException
All Implemented Interfaces:
java.io.Serializable

public class WebApplicationErrorException
extends java.lang.RuntimeException

See Also:
Serialized Form

Constructor Summary
WebApplicationErrorException(ErrorCollection errorCollection)
           
WebApplicationErrorException(ErrorCollection errorCollection, javax.ws.rs.core.MediaType mediaType)
           
WebApplicationErrorException(RestErrorCollection errorCollection)
           
WebApplicationErrorException(RestErrorCollection errorCollection, javax.ws.rs.core.MediaType mediaType)
           
 
Method Summary
 RestErrorCollection getErrorCollection()
           
 javax.ws.rs.core.MediaType getMediaType()
           
 
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

WebApplicationErrorException

public WebApplicationErrorException(RestErrorCollection errorCollection)

WebApplicationErrorException

public WebApplicationErrorException(ErrorCollection errorCollection)

WebApplicationErrorException

public WebApplicationErrorException(RestErrorCollection errorCollection,
                                    javax.ws.rs.core.MediaType mediaType)

WebApplicationErrorException

public WebApplicationErrorException(ErrorCollection errorCollection,
                                    javax.ws.rs.core.MediaType mediaType)
Method Detail

getErrorCollection

public RestErrorCollection getErrorCollection()

getMediaType

public javax.ws.rs.core.MediaType getMediaType()


Copyright © 2012 Atlassian. All Rights Reserved.