Package org.datanucleus.exceptions
Class NoExtentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.datanucleus.exceptions.NucleusException
-
- org.datanucleus.exceptions.NucleusUserException
-
- org.datanucleus.exceptions.NoExtentException
-
- All Implemented Interfaces:
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
-
-
Constructor Summary
Constructors Constructor Description NoExtentException(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, setNestedException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NoExtentException
public NoExtentException(String className)
Constructs a no extent exception.- Parameters:
className
- Name of the class on which the operation requiring an extent was attempted.
-
-