}
System.out.println("bill is not a clerk, so is not allowed to price check");
try
{
cart.priceCheck("Laptop");
throw new RuntimeException("ERROR - User with insufficient access rights allowed to access bean method");
}
catch (javax.ejb.EJBAccessException ex)
{
System.out.println("Caught EJBAccessException as expected");