public class NoLibraryItemFoundException
extends java.lang.Exception
LibraryItemDAO
.Constructor and Description |
---|
NoLibraryItemFoundException(int idLibraryItem)
Constructs an exception to be thrown when trying to retrieve a staff member
using it's ID but that no staff member with the given ID can be found.
|
NoLibraryItemFoundException(java.lang.String title)
Constructs an exception to be thrown when trying to retrieve a library item
using it's title but that no library item with the given title can be
found.
|
public NoLibraryItemFoundException(int idLibraryItem)
idLibraryItem
- the ID used to try to retrieve the library itempublic NoLibraryItemFoundException(java.lang.String title)
title
- the title used to try to retrieve the library item