Class ConnectionCannotBeObtained
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.processmining.framework.connections.ConnectionCannotBeObtained
-
- All Implemented Interfaces:
java.io.Serializable
public class ConnectionCannotBeObtained extends java.lang.Exception
Exception thrown by the connectionmanager if a requested connection does not exist.- Author:
- bfvdonge
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConnectionCannotBeObtained(java.lang.String reason, java.lang.Class<?> connectionType, java.lang.Object... objects)
Constructor with reason, connection type and objects.ConnectionCannotBeObtained(java.lang.String reason, ConnectionCannotBeObtained ex)
Constructor with message and cause
-
-
-
Constructor Detail
-
ConnectionCannotBeObtained
public ConnectionCannotBeObtained(java.lang.String reason, ConnectionCannotBeObtained ex)
Constructor with message and cause- Parameters:
reason
- The reason of throwing this exceptionex
- the cause of this exception
-
ConnectionCannotBeObtained
public ConnectionCannotBeObtained(java.lang.String reason, java.lang.Class<?> connectionType, java.lang.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 exceptionconnectionType
- The requested connection typeobjects
- the objects on which a connection was requested
-
-