org.datanucleus.store.exceptions
Class NoExtentException

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.NucleusUserException
                      extended by org.datanucleus.store.exceptions.NoExtentException
All Implemented Interfaces:
java.io.Serializable

public class NoExtentException
extends NucleusUserException

A NoExtentException is thrown if an attempt is made to perform an operation using a class that is not backed by an extent (ie table or view) in the database and the operation is not supported on such classes.

See Also:
StoreManager, Serialized Form

Field Summary
protected static Localiser LOCALISER
           
 
Constructor Summary
NoExtentException(java.lang.String className)
          Constructs a no extent 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
 

Field Detail

LOCALISER

protected static final Localiser LOCALISER
Constructor Detail

NoExtentException

public NoExtentException(java.lang.String className)
Constructs a no extent exception.

Parameters:
className - Name of the class on which the operation requiring an extent was attempted.


Copyright © 2010. All Rights Reserved.