Class ObjectNotFoundException

  • All Implemented Interfaces:
    Serializable

    public class ObjectNotFoundException
    extends CommonException
    Object with specified criteria (OID) has not been found in the repository.
    Author:
    Radovan Semancik
    See Also:
    Serialized Form
    • Constructor Detail

      • ObjectNotFoundException

        public ObjectNotFoundException()
      • ObjectNotFoundException

        public ObjectNotFoundException​(String message,
                                       Throwable cause)
      • ObjectNotFoundException

        public ObjectNotFoundException​(String message,
                                       Throwable cause,
                                       String oid)
      • ObjectNotFoundException

        public ObjectNotFoundException​(String message)
      • ObjectNotFoundException

        public ObjectNotFoundException​(LocalizableMessage userFriendlyMessage)
      • ObjectNotFoundException

        public ObjectNotFoundException​(Class<?> type,
                                       String oid)
      • ObjectNotFoundException

        public ObjectNotFoundException​(String message,
                                       String oid)
      • ObjectNotFoundException

        public ObjectNotFoundException​(Throwable cause)
    • Method Detail

      • getOid

        public String getOid()
      • getErrorTypeMessage

        public String getErrorTypeMessage()
        Description copied from class: CommonException
        Returns a human-readable message that describes the type or class of errors that the exception represents. E.g. "Communication error", "Policy violation", etc. TODO: switch return value to a localized message
        Specified by:
        getErrorTypeMessage in class CommonException