Class RemoteConnectorClientException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.alfresco.error.AlfrescoRuntimeException
-
- org.alfresco.service.cmr.remoteconnector.RemoteConnectorClientException
-
- All Implemented Interfaces:
Serializable
public class RemoteConnectorClientException extends AlfrescoRuntimeException
An exception thrown when the remote server indicates that the client has made a mistake with the request. This exception is normally thrown for responses in the 4xx range, eg if a 404 (not found) is returned by the remote server. Provided that the response was not too large, the response from the server will also be available.- Since:
- 4.0.3
- Author:
- Nick Burch
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoteConnectorClientException(int statusCode, String statusText, RemoteConnectorResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoteConnectorResponsegetResponse()intgetStatusCode()StringgetStatusText()-
Methods inherited from class org.alfresco.error.AlfrescoRuntimeException
create, create, getMsgId, getMsgParams, getNumericalId, getRootCause, makeRuntimeException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RemoteConnectorClientException
public RemoteConnectorClientException(int statusCode, String statusText, RemoteConnectorResponse response)
-
-
Method Detail
-
getStatusCode
public int getStatusCode()
-
getStatusText
public String getStatusText()
-
getResponse
public RemoteConnectorResponse getResponse()
-
-