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 org.alfresco.error.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:
-
Constructor Summary
ConstructorsConstructorDescriptionRemoteConnectorClientException(int statusCode, String statusText, RemoteConnectorResponse response) -
Method Summary
Modifier and TypeMethodDescriptionintMethods inherited from class org.alfresco.error.AlfrescoRuntimeException
create, create, getMsgId, getMsgParams, getNumericalId, getRootCause, makeRuntimeExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RemoteConnectorClientException
public RemoteConnectorClientException(int statusCode, String statusText, RemoteConnectorResponse response)
-
-
Method Details
-
getStatusCode
public int getStatusCode() -
getStatusText
-
getResponse
-