Class RemoteConnectorClientException

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      RemoteConnectorResponse getResponse()  
      int getStatusCode()  
      java.lang.String getStatusText()  
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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()