|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.openwms.core.integration.exception.DataException
org.openwms.core.integration.exception.NoUniqueResultException
public class NoUniqueResultException
A NoUniqueResultException is thrown when a single result was expected but multiple entities were found.
Constructor Summary | |
---|---|
NoUniqueResultException()
Create a new NoUniqueResultException . |
|
NoUniqueResultException(Serializable id)
Create a new NoUniqueResultException with the id of the
expected entity. |
|
NoUniqueResultException(String message)
Create a new NoUniqueResultException with a message text. |
|
NoUniqueResultException(String message,
Throwable cause)
Create a new NoUniqueResultException with a message text and
the root exception. |
|
NoUniqueResultException(Throwable cause)
Create a new NoUniqueResultException with the root
exception. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NoUniqueResultException()
NoUniqueResultException
.
public NoUniqueResultException(String message)
NoUniqueResultException
with a message text.
message
- Message text as Stringpublic NoUniqueResultException(Throwable cause)
NoUniqueResultException
with the root
exception.
cause
- The root exceptionpublic NoUniqueResultException(String message, Throwable cause)
NoUniqueResultException
with a message text and
the root exception.
message
- Message text as Stringcause
- The root exceptionpublic NoUniqueResultException(Serializable id)
NoUniqueResultException
with the id of the
expected entity.
id
- Id of the expected entity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |