Package org.datanucleus.store.query
Class QueryNotUniqueException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.datanucleus.exceptions.NucleusException
-
- org.datanucleus.exceptions.NucleusUserException
-
- org.datanucleus.store.query.QueryNotUniqueException
-
- All Implemented Interfaces:
Serializable
public class QueryNotUniqueException extends NucleusUserException
This exception is thrown when a user runs a Query and has marked it as UNIQUE, but it returns more than 1 object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueryNotUniqueException()
Constructs the exception, populating the correct message.
-
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
-
-