|
|||||||||||
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 | +--edu.ucsb.nceas.metacat.McdbException | +--edu.ucsb.nceas.metacat.McdbDocNotFoundException
Exception thrown when an error occurs because a document with a given ID could not be found in the metacat database.
Constructor Summary | |
McdbDocNotFoundException()
Create a new McdbDocNotFoundException. |
|
McdbDocNotFoundException(java.lang.Exception e)
Create a new McdbDocNotFoundException. |
|
McdbDocNotFoundException(java.lang.String message,
java.lang.Exception e)
Create a new McdbDocNotFoundException. |
|
McdbDocNotFoundException(java.lang.String message,
java.lang.String givenDocId,
java.lang.String givenRevision)
Create a new McdbDocNotFoundException. |
Method Summary | |
java.lang.String |
getUnfoundDocId()
Method to get the docid which couldn't be found |
java.lang.String |
getUnfoundRevision()
Method to get the docid's revsion which couldn't be found |
Methods inherited from class edu.ucsb.nceas.metacat.McdbException |
getException, getMessage, toXml |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, 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 McdbDocNotFoundException()
public McdbDocNotFoundException(java.lang.String message, java.lang.String givenDocId, java.lang.String givenRevision)
message
- The error or warning message.public McdbDocNotFoundException(java.lang.Exception e)
e
- The exception to tunnel inside this exceptionpublic McdbDocNotFoundException(java.lang.String message, java.lang.Exception e)
message
- The error or warning message.e
- The exception to tunnel inside this exceptionMethod Detail |
public java.lang.String getUnfoundDocId()
public java.lang.String getUnfoundRevision()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |