edu.ucsb.nceas.metacat
Class McdbDocNotFoundException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--edu.ucsb.nceas.metacat.McdbException
                    |
                    +--edu.ucsb.nceas.metacat.McdbDocNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class McdbDocNotFoundException
extends McdbException

Exception thrown when an error occurs because a document with a given ID could not be found in the metacat database.

See Also:
Serialized Form

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

McdbDocNotFoundException

public McdbDocNotFoundException()
Create a new McdbDocNotFoundException.


McdbDocNotFoundException

public McdbDocNotFoundException(java.lang.String message,
                                java.lang.String givenDocId,
                                java.lang.String givenRevision)
Create a new McdbDocNotFoundException.

Parameters:
message - The error or warning message.

McdbDocNotFoundException

public McdbDocNotFoundException(java.lang.Exception e)
Create a new McdbDocNotFoundException.

Parameters:
e - The exception to tunnel inside this exception

McdbDocNotFoundException

public McdbDocNotFoundException(java.lang.String message,
                                java.lang.Exception e)
Create a new McdbDocNotFoundException.

Parameters:
message - The error or warning message.
e - The exception to tunnel inside this exception
Method Detail

getUnfoundDocId

public java.lang.String getUnfoundDocId()
Method to get the docid which couldn't be found


getUnfoundRevision

public java.lang.String getUnfoundRevision()
Method to get the docid's revsion which couldn't be found



Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.