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:
    Serializable, Iterable<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 and Description
    `SchemaNotAvailableException(String schema, ConnectionNotAvailableReason reason, Throwable cause)`
    `SchemaNotAvailableException(String schema, Throwable cause)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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(String schema,
                                             Throwable cause)

    - #### SchemaNotAvailableException

          public SchemaNotAvailableException(String schema,
                                             ConnectionNotAvailableReason reason,
                                             Throwable cause)

  - ### Method Detail

    - #### getSchema

          public String getSchema()

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

Copyright © 2010, 2022, Oracle and/or its affiliates.