org.datanucleus.store.exceptions
Class UnsupportedDataTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.exceptions.NucleusDataStoreException
                      extended by org.datanucleus.store.exceptions.UnsupportedDataTypeException
All Implemented Interfaces:
java.io.Serializable

public class UnsupportedDataTypeException
extends NucleusDataStoreException

A UnsupportedDataTypeException is thrown if an attempt is made to persist an object field whose data type is not supported by the database and/or the persistence package.

Version:
$Revision: 1.4 $
See Also:
Serialized Form

Constructor Summary
UnsupportedDataTypeException()
          Constructs an unsupported data type exception with no specific detail message.
UnsupportedDataTypeException(java.lang.String msg)
          Constructs an unsupported data type exception with the specified detail message.
UnsupportedDataTypeException(java.lang.String msg, java.lang.Exception nested)
          Constructs an unsupported data type exception with the specified detail message and nested exception.
 
Method Summary
 
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsupportedDataTypeException

public UnsupportedDataTypeException()
Constructs an unsupported data type exception with no specific detail message.


UnsupportedDataTypeException

public UnsupportedDataTypeException(java.lang.String msg)
Constructs an unsupported data type exception with the specified detail message.

Parameters:
msg - the detail message

UnsupportedDataTypeException

public UnsupportedDataTypeException(java.lang.String msg,
                                    java.lang.Exception nested)
Constructs an unsupported data type exception with the specified detail message and nested exception.

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


Copyright © 2011. All Rights Reserved.