System.out.println("----invoking getBookSubResource with id: " + id);
Book book = books.get(Long.parseLong(id));
if (book != null) {
return book;
} else {
BookNotFoundDetails details = new BookNotFoundDetails();
details.setId(Long.parseLong(id));
throw new BookNotFoundFault(details);
}
}