Class DataRegistrationNotFoundException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DataRegistrationNotFoundException
    extends DataException
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DataRegistrationNotFoundException()
      Constructs a basic data registration not found exception.
      DataRegistrationNotFoundException​(java.lang.String registrationQuery)
      Constructs a data registration not found exception with a specified registration query, which will be used as the message.
      DataRegistrationNotFoundException​(java.lang.String message, @Nullable java.lang.String registrationQuery)
      Constructs a data registration not found exception with a specified message and registration query.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.String> registrationQuery()
      Gets the specified registration query, if present.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • DataRegistrationNotFoundException

        public DataRegistrationNotFoundException()
        Constructs a basic data registration not found exception.
      • DataRegistrationNotFoundException

        public DataRegistrationNotFoundException​(java.lang.String registrationQuery)
        Constructs a data registration not found exception with a specified registration query, which will be used as the message.
        Parameters:
        registrationQuery - The registration query
      • DataRegistrationNotFoundException

        public DataRegistrationNotFoundException​(java.lang.String message,
                                                 @Nullable java.lang.String registrationQuery)
        Constructs a data registration not found exception with a specified message and registration query.
        Parameters:
        message - The message
        registrationQuery - The registration query
    • Method Detail

      • registrationQuery

        public java.util.Optional<java.lang.String> registrationQuery()
        Gets the specified registration query, if present.
        Returns:
        The registration query, if present