Class ConnectionCannotBeObtained

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.processmining.framework.connections.ConnectionCannotBeObtained
All Implemented Interfaces:
Serializable

public class ConnectionCannotBeObtained extends Exception
Exception thrown by the connectionmanager if a requested connection does not exist.
Author:
bfvdonge
See Also:
  • Constructor Details

    • ConnectionCannotBeObtained

      public ConnectionCannotBeObtained(String reason, ConnectionCannotBeObtained ex)
      Constructor with message and cause
      Parameters:
      reason - The reason of throwing this exception
      ex - the cause of this exception
    • ConnectionCannotBeObtained

      public ConnectionCannotBeObtained(String reason, Class<?> connectionType, Object... objects)
      Constructor with reason, connection type and objects. The message is set to: "No known connection of type + connectionType + " between " + Arrays.toString(objects) + " [" + reason + "]";
      Parameters:
      reason - The reason of throwing this exception
      connectionType - The requested connection type
      objects - the objects on which a connection was requested