Class UnknownTypeException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TypeNotInSchemaException

public class UnknownTypeException extends DatabaseException
Thrown when attempting to access an unknown type.
See Also:
  • Constructor Details

    • UnknownTypeException

      public UnknownTypeException(String typeName, Schema schema)
      Constructor.
      Parameters:
      typeName - unknown type name
      schema - schema in which typeName was not found, or null if specific to any particular schema
    • UnknownTypeException

      public UnknownTypeException(String typeName, Schema schema, String message)
      Constructor.
      Parameters:
      typeName - unknown type name
      schema - schema in which typeName was not found, or null if specific to any particular schema
      message - exception message
  • Method Details

    • getTypeName

      public String getTypeName()
      Get the type name that was not recognized.
      Returns:
      unrecognized object type name
    • getSchema

      public Schema getSchema()
      Get the schema in which the type was not found.

      This may return null if a query was not specific to any particular schema.

      Returns:
      schema not having the object type, possibly null