public class ConnectionCannotBeObtained
extends java.lang.Exception
Constructor and 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
|
public ConnectionCannotBeObtained(java.lang.String reason, ConnectionCannotBeObtained ex)
reason
- The reason of throwing this exceptionex
- the cause of this exceptionpublic ConnectionCannotBeObtained(java.lang.String reason, java.lang.Class<?> connectionType, java.lang.Object... objects)
reason
- The reason of throwing this exceptionconnectionType
- The requested connection typeobjects
- the objects on which a connection was requested