Class SardineException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.http.client.ClientProtocolException
org.apache.http.client.HttpResponseException
com.github.sardine.impl.SardineException
- All Implemented Interfaces:
Serializable
public class SardineException
extends org.apache.http.client.HttpResponseException
Specialized type of exception for Sardine so
that it is easy to get the error information from it.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe response phrase returned by the server.Methods inherited from class org.apache.http.client.HttpResponseException
getReasonPhrase, getStatusCodeMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SardineException
-
-
Method Details
-
getResponsePhrase
The response phrase returned by the server.- Returns:
- Null if not known.
-
getMessage
- Overrides:
getMessagein classThrowable
-