Class InvalidConnectionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.denodo.scheduler.client.commons.exceptions.InvalidConnectionException
All Implemented Interfaces:
Serializable

public class InvalidConnectionException extends Exception
Exception returned when trying to modify the database to store the metadata and it is not possible to connect to the new one.
Since:
6.0
See Also:
  • Field Details

    • serialVersionUID

      protected static final long serialVersionUID
      For interoperability with possible future changes.
      See Also:
  • Constructor Details

    • InvalidConnectionException

      public InvalidConnectionException(String message)
      Creates an JobsSchedulerException with the specified detail message.
      Parameters:
      message - the detail message.
    • InvalidConnectionException

      public InvalidConnectionException(Exception encException)
      Creates an JobsSchedulerException with the specified encapsulated exception.
      Parameters:
      encException - the encapsulated exception.
  • Method Details

    • getMessage

      public String getMessage()
      Returns the detail message string of the exception. If null the message of the encapsulated exception is returned.
      Overrides:
      getMessage in class Throwable
      Returns:
      the detail message string of the encapsulated exception (which may be null).
    • getEncapsulatedException

      public Exception getEncapsulatedException()
      Returns the encapsulated exception.
      Returns:
      the encapsulated exception.