|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.sri.common.dbobj.ObjectNotFoundException
public class ObjectNotFoundException
Error that is thrown when Repositories do not find the resulting object. Unlike RepositoryException that throws Runtime Exceptions, this particular error is expected to be handled and thus throws a regular exception.
Constructor Summary | |
---|---|
ObjectNotFoundException()
Default constructor. |
|
ObjectNotFoundException(String message)
Constructor that takes a message. |
|
ObjectNotFoundException(String message,
Throwable cause)
Constructor that takes a message and a nested exception. |
|
ObjectNotFoundException(Throwable cause)
Constructor that takes a nested exception/error. |
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 ObjectNotFoundException()
public ObjectNotFoundException(String message)
message
- Stringpublic ObjectNotFoundException(Throwable cause)
cause
- Throwable the nested error.public ObjectNotFoundException(String message, Throwable cause)
message
- String the message.cause
- Throwable the underlying exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |