Class ElementUnavailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.espirit.firstspirit.access.store.ElementUnavailableException
- All Implemented Interfaces:
Serializable
Exception indicating an element not being available.
- Since:
- 5.2
- See Also:
-
Constructor Summary
ConstructorDescriptionElementUnavailableException
(String uid, IDProvider.UidType uidType) Creates the exception with the given UID and type. -
Method Summary
Modifier and TypeMethodDescriptiongetUid()
Provides the UID of the element not found.Provides the UID type of the element not found.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ElementUnavailableException
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
Provides the UID of the element not found.- Returns:
- The missing element's uid.
- Since:
- 5.2
-
getUidType
Provides the UID type of the element not found.- Returns:
- The missing element's type.
- Since:
- 5.2
-