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

public class MisconfiguredConnectionException extends AppException
Exception thrown when a connection is misconfigured.
Since:
11.4
Author:
Petru Galanton
See Also:
  • Constructor Details

    • MisconfiguredConnectionException

      public MisconfiguredConnectionException(String connectionName, String reason)
      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

      public String getConnectionName()
      This method returns the name of the connection.
      Returns:
      the name of the connection.
    • getReason

      public String getReason()
      Returns the reason why the connection is misconfigured.
      Returns:
      details about the misconfiguration