com.triactive.jdo.store
Class SchemaValidationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOCanRetryException
                      extended byjavax.jdo.JDODataStoreException
                          extended bycom.triactive.jdo.store.SchemaValidationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
IncompatibleDataTypeException, IsNotNullableException, IsNullableException, MissingColumnException, MissingForeignKeysException, MissingIndicesException, MissingSchemaTableEntryException, MissingTableException, NotABaseTableException, NotAViewException, UnexpectedColumnException, WrongPrecisionException, WrongPrimaryKeyException, WrongScaleException

public class SchemaValidationException
extends javax.jdo.JDODataStoreException

A SchemaValidationException is thrown if a mismatch is discovered between what the JDO runtime thinks the schema should look like and what it actually looks like.

Author:
Mike Martin
See Also:
Table, Serialized Form

Constructor Summary
SchemaValidationException(java.lang.String msg)
          Constructs a schema validation exception with the specified detail message.
SchemaValidationException(java.lang.String msg, java.lang.Exception nested)
          Constructs a schema validation exception with the specified detail message and nested exception.
 
Method Summary
protected static java.lang.String toString(java.util.Collection objs)
          Converts the given collection of objects to string as a comma-separated list.
 
Methods inherited from class javax.jdo.JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SchemaValidationException

public SchemaValidationException(java.lang.String msg)
Constructs a schema validation exception with the specified detail message.

Parameters:
msg - the detail message

SchemaValidationException

public SchemaValidationException(java.lang.String msg,
                                 java.lang.Exception nested)
Constructs a schema validation exception with the specified detail message and nested exception.

Parameters:
msg - the detail message
nested - the nested exception(s).
Method Detail

toString

protected static java.lang.String toString(java.util.Collection objs)
Converts the given collection of objects to string as a comma-separated list. If the list is empty the string "<none>" is returned.

Returns:
A string containing each object in the given collection, converted toString() and separated by commas.


Copyright © 2001-2007 The TJDO Project All Rights Reserved.