Class ElementUnavailableException

java.lang.Object
java.lang.Throwable
java.lang.Exception
de.espirit.firstspirit.access.store.ElementUnavailableException
All Implemented Interfaces:
Serializable

public class ElementUnavailableException extends Exception
Exception indicating an element not being available.
Since:
5.2
See Also:
  • Constructor Details

    • ElementUnavailableException

      public ElementUnavailableException(String uid, IDProvider.UidType uidType)
      Creates the exception with the given UID and type.
      Parameters:
      uid - The uid of the element not found.
      uidType - The uid type of the element not found.
      Since:
      5.2
  • Method Details

    • getUid

      public String getUid()
      Provides the UID of the element not found.
      Returns:
      The missing element's uid.
      Since:
      5.2
    • getUidType

      public IDProvider.UidType getUidType()
      Provides the UID type of the element not found.
      Returns:
      The missing element's type.
      Since:
      5.2