public class NonUniqueResultException extends InvalidStateException
CALLBACK, INVALID_STATE, METADATA, NO_RESULT, NO_TRANSACTION, NON_UNIQUE_RESULT
GENERAL, INTERNAL, STORE, UNAVAILABLE, UNSUPPORTED, USER, WRAPPED
Constructor and Description |
---|
NonUniqueResultException(Localizer.Message msg) |
NonUniqueResultException(Localizer.Message msg,
Object failed) |
Modifier and Type | Method and Description |
---|---|
int |
getSubtype()
Exception subtype.
|
getType
getCause, getFailedObject, getNestedThrowables, isFatal, printStackTrace, printStackTrace, printStackTrace, setCause, setFailedObject, setFatal, setNestedThrowables, toString
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMessage
public NonUniqueResultException(Localizer.Message msg)
public NonUniqueResultException(Localizer.Message msg, Object failed)
public int getSubtype()
OpenJPAException
getSubtype
in interface ExceptionInfo
getSubtype
in class InvalidStateException
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.