Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.javatools.db.ddl
Class UnsupportedDDLException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.UnsupportedOperationException
                  extended by oracle.javatools.db.ddl.UnsupportedDDLException

All Implemented Interfaces:
java.io.Serializable

public class UnsupportedDDLException
extends java.lang.UnsupportedOperationException

This exception is thrown by DDLGenerator implementations when requests are made to generate DDL for objects and/or properties that are not supported by the particular generator.

This is a RuntimeException rather than a DBException because it is expected that a user of the DDLGenerator would also use its capacity as a PropertyManager to test whether the given object and its properties (and property changes for update) are supported before attempting generation.

Since:
11.1.1.2.0
See Also:
Serialized Form

Constructor Summary
UnsupportedDDLException(java.lang.String string, DBObject object)
          The given message is automatically formatted with the object type and name (in that order) using MessageFormat.

 

Method Summary
 DBObject getObject()
          Gets the object that the ddl generation failed for.

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

UnsupportedDDLException

public UnsupportedDDLException(java.lang.String string,
                               DBObject object)
The given message is automatically formatted with the object type and name (in that order) using MessageFormat.
Parameters:
string - the message to format with the object's name and type
object - the object that the operation isn't supported for. Cannot be null.

Method Detail

getObject

public DBObject getObject()
Gets the object that the ddl generation failed for.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.