Class ConnectionCannotBeObtained
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.processmining.framework.connections.ConnectionCannotBeObtained
- All Implemented Interfaces:
Serializable
Exception thrown by the connectionmanager if a requested connection does not
exist.
- Author:
- bfvdonge
- See Also:
-
Constructor Summary
ConstructorDescriptionConnectionCannotBeObtained
(String reason, Class<?> connectionType, Object... objects) Constructor with reason, connection type and objects.Constructor with message and cause -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConnectionCannotBeObtained
Constructor with message and cause- Parameters:
reason
- The reason of throwing this exceptionex
- the cause of this exception
-
ConnectionCannotBeObtained
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
-