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
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 Summary
Constructors Constructor Description WebServiceCallException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHttpErrorCode()
This method returns the http error code.String
getLanguageCode()
com.aquima.interactions.communication.impl.evaluator.parser.ValidationResponseObject
getResponseObject()
boolean
hasResponseObject()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
WebServiceCallException
public WebServiceCallException(String message, Throwable cause)
Construct a webservice call with a message and a cause.- Parameters:
message
- The informative exception messagecause
- 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 messagecause
- The exception causehttpErrorCode
- The http error code
-
-
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()
-
-