Class InvalidConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.denodo.scheduler.client.commons.exceptions.InvalidConnectionException
- All Implemented Interfaces:
Serializable
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 Summary
FieldsModifier and TypeFieldDescriptionprotected static final longFor interoperability with possible future changes. -
Constructor Summary
ConstructorsConstructorDescriptionInvalidConnectionException(Exception encException) Creates an JobsSchedulerException with the specified encapsulated exception.InvalidConnectionException(String message) Creates an JobsSchedulerException with the specified detail message. -
Method Summary
Modifier and TypeMethodDescriptionReturns the encapsulated exception.Returns the detail message string of the exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
protected static final long serialVersionUIDFor interoperability with possible future changes.- See Also:
-
-
Constructor Details
-
InvalidConnectionException
Creates an JobsSchedulerException with the specified detail message.- Parameters:
message- the detail message.
-
InvalidConnectionException
Creates an JobsSchedulerException with the specified encapsulated exception.- Parameters:
encException- the encapsulated exception.
-
-
Method Details
-
getMessage
Returns the detail message string of the exception. If null the message of the encapsulated exception is returned.- Overrides:
getMessagein classThrowable- Returns:
- the detail message string of the encapsulated exception (which may be null).
-
getEncapsulatedException
Returns the encapsulated exception.- Returns:
- the encapsulated exception.
-