public class UnsupportedDDLException
extends java.lang.UnsupportedOperationException
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.
| Constructor and Description | 
|---|
UnsupportedDDLException(java.lang.String string,
                       DBObject object)
The given message is automatically formatted with the object type and name
 (in that order) using MessageFormat. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
DBObject | 
getObject()
Gets the object that the ddl generation failed for. 
 | 
public UnsupportedDDLException(java.lang.String string,
                               DBObject object)
string - the message to format with the object's name and typeobject - the object that the operation isn't supported for. Cannot be
 null.public DBObject getObject()