Class GdcSardineException

  • All Implemented Interfaces:
    java.io.Serializable

    public class GdcSardineException
    extends com.github.sardine.impl.SardineException
    Extended Sardine exception about X-GDC-REQUEST header value.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      GdcSardineException​(java.lang.String requestId, java.lang.String msg, int statusCode, java.lang.String responsePhrase)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()  
      • Methods inherited from class com.github.sardine.impl.SardineException

        getResponsePhrase
      • Methods inherited from class org.apache.http.client.HttpResponseException

        getReasonPhrase, getStatusCode
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, 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

      • GdcSardineException

        public GdcSardineException​(java.lang.String requestId,
                                   java.lang.String msg,
                                   int statusCode,
                                   java.lang.String responsePhrase)
        Parameters:
        msg - Custom description of failure
        statusCode - Error code returned by server
        responsePhrase - Response phrase following the error code
        requestId - The X-GDC-REQUEST identifier.
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class com.github.sardine.impl.SardineException