Class McdbDocNotFoundException

All Implemented Interfaces:
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:
  • Constructor Details

    • McdbDocNotFoundException

      public McdbDocNotFoundException()
      Create a new McdbDocNotFoundException.
    • McdbDocNotFoundException

      public McdbDocNotFoundException(String message, String givenDocId, String givenRevision)
      Create a new McdbDocNotFoundException.
      Parameters:
      message - The error or warning message.
    • McdbDocNotFoundException

      public McdbDocNotFoundException(String message)
      Create a new exception but only set the message.
      Parameters:
      message - a message giving information about why the document was not found
    • McdbDocNotFoundException

      public McdbDocNotFoundException(Exception e)
      Create a new McdbDocNotFoundException.
      Parameters:
      e - The exception to tunnel inside this exception
    • McdbDocNotFoundException

      public McdbDocNotFoundException(String message, Exception e)
      Create a new McdbDocNotFoundException.
      Parameters:
      message - The error or warning message.
      e - The exception to tunnel inside this exception
  • Method Details

    • getUnfoundDocId

      public String getUnfoundDocId()
      Method to get the docid which couldn't be found
    • getUnfoundRevision

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