Class DfIdNotFoundException

All Implemented Interfaces:
IDfException, Serializable

public class DfIdNotFoundException extends DfObjectNotFoundException
Thrown when a requested Docbase object can not be found.

This is a variation of DfObjectNotFoundException that is used then the object is specified by a object id.

Since:
5.3
See Also:
  • Constructor Details

    • DfIdNotFoundException

      public DfIdNotFoundException(IDfId objectId)
      Constructs a new instance.
      Parameters:
      objectId - the object id for the object that could not be found
    • DfIdNotFoundException

      public DfIdNotFoundException(IDfId objectId, Throwable cause)
      Constructs a new instance.
      Parameters:
      objectId - the object id for the object that could not be found
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
      Since:
      6.0
    • DfIdNotFoundException

      public DfIdNotFoundException(IDfId objectId, String objectTypeDescription)
      Constructs a new instance.
      Parameters:
      objectId - the object id for the object that could not be found
      objectTypeDescription - a human readable description of the type of object that could not be found. It might be something like "Document" or "Folder" or "Workflow".
    • DfIdNotFoundException

      public DfIdNotFoundException(IDfId objectId, String objectTypeDescription, Throwable cause)
      Constructs a new instance.
      Parameters:
      objectId - the object id for the object that could not be found
      objectTypeDescription - a human readable description of the type of object that could not be found. It might be something like "Document" or "Folder" or "Workflow".
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
      Since:
      6.0
  • Method Details

    • getObjectId

      public final IDfId getObjectId()
      Gets the object id that could not be found.
      Returns:
      the object id that could not be found.