Oracle NoSQL Database
version 11gR2.2.0.26

oracle.kv.avro
Class UndefinedSchemaException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.kv.FaultException
                  extended by oracle.kv.avro.UndefinedSchemaException
All Implemented Interfaces:
Serializable

public class UndefinedSchemaException
extends FaultException

Thrown when the application attempts to use a schema that has not been defined using the NoSQL Database administration interface.

As described in detail under Avro Schemas in the AvroCatalog class documentation, all schemas must be defined using the NoSQL Database administration interface before they can be used to store values.

Depending on the nature of the application, when this exception is thrown the client may wish to

WARNING: Blocking and internal schema queries may occur frequently if multiple threads repeatedly try to use a schema that is undefined in the store. To avoid this, it is important to delay before retrying an operation using the undefined schema.

Since:
2.0
See Also:
Serialized Form

Method Summary
 String getSchemaName()
          Returns the full name of the undefined schema.
 
Methods inherited from class oracle.kv.FaultException
getFaultClassName, getRemoteStackTrace, toString, wasLoggedRemotely
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getSchemaName

public String getSchemaName()
Returns the full name of the undefined schema.


Oracle NoSQL Database
version 11gR2.2.0.26

Copyright (c) 2011, 2013 Oracle and/or its affiliates. All rights reserved.