public class NoStaffMemberFoundException
extends java.lang.Exception
StaffMemberDAO
.Constructor and Description |
---|
NoStaffMemberFoundException(int idStaff)
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.
|
NoStaffMemberFoundException(java.lang.String username)
Constructs an exception to be thrown when trying to retrieve a staff member
using it's username but that no staff member with the given username can be
found.
|
public NoStaffMemberFoundException(int idStaff)
idStaff
- the ID used to try to retrieve the staff memberpublic NoStaffMemberFoundException(java.lang.String username)
username
- the username used to try to retrieve the staff member