Package oracle.dbtools.plugin.api.jdbc

## Class SchemaNotAvailableException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.sql.SQLException
      - - java.sql.SQLTransientException
        - - java.sql.SQLTransientConnectionException
          - - oracle.dbtools.plugin.api.jdbc.ConnectionNotAvailableException
            - - oracle.dbtools.plugin.api.jdbc.SchemaNotAvailableException

- All Implemented Interfaces:
    `java.io.Serializable`, `java.lang.Iterable<java.lang.Throwable>`

      public class SchemaNotAvailableException
      extends ConnectionNotAvailableException

  Raised when an attempt is made to access a schema that is not ORDS enabled, or has been dropped
  Author:
    cdivilly
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SchemaNotAvailableException​(java.lang.String schema, java.lang.Throwable cause)` |
    `SchemaNotAvailableException​(java.lang.String schema, ConnectionNotAvailableReason reason, java.lang.Throwable cause)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `getSchema()` | The user supplied schema name, which was determined not to be available

    - ### Methods inherited from class oracle.dbtools.plugin.api.jdbc.ConnectionNotAvailableException

      `reason`

    - ### Methods inherited from class java.sql.SQLException

      `getErrorCode, getNextException, getSQLState, iterator, setNextException`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, spliterator`

- - ### Constructor Detail

    - #### SchemaNotAvailableException

          public SchemaNotAvailableException​(java.lang.String schema,
                                             java.lang.Throwable cause)

    - #### SchemaNotAvailableException

          public SchemaNotAvailableException​(java.lang.String schema,
                                             ConnectionNotAvailableReason reason,
                                             java.lang.Throwable cause)

  - ### Method Detail

    - #### getSchema

          public java.lang.String getSchema()

      The user supplied schema name, which was determined not to be available
      Returns:
        The name of the schema