Package oracle.dbtools.plugin.api.jdbc
Class ConnectionNotAvailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
java.sql.SQLTransientException
java.sql.SQLTransientConnectionException
oracle.dbtools.plugin.api.jdbc.ConnectionNotAvailableException
- All Implemented Interfaces:
Serializable,Iterable<Throwable>
- Direct Known Subclasses:
DatabaseNotAvailableException,SchemaNotAvailableException
Exception raised when a connection to a database or database schema cannot be made
- Author:
- cdivilly
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConnectionNotAvailableException(String message, ConnectionNotAvailableReason reason, Throwable cause) -
Method Summary
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ConnectionNotAvailableException
protected ConnectionNotAvailableException(String message, ConnectionNotAvailableReason reason, Throwable cause)
-
-
Method Details
-
reason
The reason the connection could not be created- Returns:
ConnectionNotAvailableReasoninstance
-