Class WebServiceCallException

  • All Implemented Interfaces:
    Serializable

    public final class WebServiceCallException
    extends Exception
    Exception that is thrown by a webservice call (Rest or Soap) to the client.
    Since:
    9.0
    Author:
    Jon van Leuven
    See Also:
    Serialized Form
    • Constructor Detail

      • WebServiceCallException

        public WebServiceCallException​(String message,
                                       Throwable cause)
        Construct a webservice call with a message and a cause.
        Parameters:
        message - The informative exception message
        cause - The exception cause
      • WebServiceCallException

        public WebServiceCallException​(String message,
                                       Throwable cause,
                                       int httpErrorCode)
        Construct a webservice call with a message and a cause.
        Parameters:
        message - The informative exception message
        cause - The exception cause
        httpErrorCode - The http error code
      • WebServiceCallException

        public WebServiceCallException​(String message,
                                       com.aquima.interactions.communication.impl.evaluator.parser.ValidationResponseObject responseObject,
                                       String languageCode,
                                       int httpErrorCode)
    • Method Detail

      • getHttpErrorCode

        public int getHttpErrorCode()
        This method returns the http error code.
        Returns:
        The http error code.
      • hasResponseObject

        public boolean hasResponseObject()
      • getResponseObject

        public com.aquima.interactions.communication.impl.evaluator.parser.ValidationResponseObject getResponseObject()
      • getLanguageCode

        public String getLanguageCode()