Class MisconfiguredConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.foundation.exception.AppException
com.aquima.interactions.foundation.connectivity.exception.MisconfiguredConnectionException
- All Implemented Interfaces:
Serializable
Exception thrown when a connection is misconfigured.
- Since:
- 11.4
- Author:
- Petru Galanton
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMisconfiguredConnectionException
(String connectionName, String reason) Constructs the exception with the connection name that is invalid. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the name of the connection.Returns the reason why the connection is misconfigured.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MisconfiguredConnectionException
Constructs the exception with the connection name that is invalid.- Parameters:
connectionName
- The name of the connection.reason
- description of the misconfiguration
-
-
Method Details
-
getConnectionName
This method returns the name of the connection.- Returns:
- the name of the connection.
-
getReason
Returns the reason why the connection is misconfigured.- Returns:
- details about the misconfiguration
-