com.triactive.jdo.store.sql
Class IncompatibleDataTypeException

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
                              extended bycom.triactive.jdo.store.sql.IncompatibleDataTypeException
All Implemented Interfaces:
java.io.Serializable

public class IncompatibleDataTypeException
extends SchemaValidationException

A IncompatibleDataTypeException is thrown if a column is detected to have an incompatible type in the database during schema validation.

Author:
Mike Martin
See Also:
Column, Serialized Form

Constructor Summary
IncompatibleDataTypeException(Column column, int expectedType, int actualType)
          Constructs an incompatible data type exception.
 
Methods inherited from class com.triactive.jdo.store.SchemaValidationException
toString
 
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

IncompatibleDataTypeException

public IncompatibleDataTypeException(Column column,
                                     int expectedType,
                                     int actualType)
Constructs an incompatible data type exception.

Parameters:
column - The column having an incompatible data type.
expectedType - The expected java.sql.Type of the column.
actualType - The actual java.sql.Type of the column.


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