Package com.aquima.web.aaas
Class WebServiceCallException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.aquima.web.aaas.WebServiceCallException
- All Implemented Interfaces:
Serializable
Exception that is thrown by a webservice call (Rest or Soap) to the client.
- Since:
- 9.0
- Author:
- Jon van Leuven
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWebServiceCallException
(String message, com.aquima.interactions.communication.impl.evaluator.parser.ValidationResponseObject responseObject, String languageCode, int httpErrorCode) WebServiceCallException
(String message, Throwable cause) Construct a webservice call with a message and a cause.WebServiceCallException
(String message, Throwable cause, int httpErrorCode) Construct a webservice call with a message and a cause. -
Method Summary
Modifier and TypeMethodDescriptionint
This method returns the http error code.com.aquima.interactions.communication.impl.evaluator.parser.ValidationResponseObject
boolean
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WebServiceCallException
Construct a webservice call with a message and a cause.- Parameters:
message
- The informative exception messagecause
- The exception cause
-
WebServiceCallException
Construct a webservice call with a message and a cause.- Parameters:
message
- The informative exception messagecause
- The exception causehttpErrorCode
- The http error code
-
WebServiceCallException
-
-
Method Details
-
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
-