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:
java.io.Serializable
public class RemoteConnectorClientException extends org.alfresco.error.AlfrescoRuntimeExceptionAn 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, java.lang.String statusText, RemoteConnectorResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoteConnectorResponsegetResponse()intgetStatusCode()java.lang.StringgetStatusText()-
Methods inherited from class org.alfresco.error.AlfrescoRuntimeException
create, create, getMsgId, getMsgParams, getNumericalId, getRootCause, makeRuntimeException
-
-
-
-
Constructor Detail
-
RemoteConnectorClientException
public RemoteConnectorClientException(int statusCode, java.lang.String statusText, RemoteConnectorResponse response)
-
-
Method Detail
-
getStatusCode
public int getStatusCode()
-
getStatusText
public java.lang.String getStatusText()
-
getResponse
public RemoteConnectorResponse getResponse()
-
-