Class UnmatchableOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.foundation.exception.AppException
com.aquima.interactions.communication.exception.CommunicationEngineException
com.aquima.interactions.communication.exception.UnmatchableOperationException
- All Implemented Interfaces:
Serializable
This exception is used to indicate an operation could not be found for a specific path and query.
- Since:
- 9.0
- Author:
- Arjan Pragt
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs the exception with the rest request message of the unknown operation. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the http method that was used when this exception occurred.getPath()
This method returns the path that was used when this exception occurred.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnmatchableOperationException
Constructs the exception with the rest request message of the unknown operation.- Parameters:
request
- The rest request message.
-
-
Method Details
-
getMethod
This method returns the http method that was used when this exception occurred.- Returns:
- The http method.
-
getPath
This method returns the path that was used when this exception occurred.- Returns:
- The path.
-