title: Constructor Exception not working (Java)
body: <p>I just needed help regarding my stuff and It seems one had a similar question so I just had to copy/paste it</p>
  
  <p>Although an answer was given, java would error out on the answer that was given on that same area</p>
  
  <p>I am having trouble with my custom book exception to interact with my program that creates a book object and for that too finally interact with my driver class Bookstore.java. My driver class doesn't catch the inconsistencies from happening. Like:</p>
  
  <blockquote>
    <p>*title should not be blank or contain blanks only
    <br>
    *isbn should be a number between 1000 and 10000 (inclusive)<br>
    *quantity should not be negative (zero is ok, it means out of stock)</p>
  </blockquote>
  
  <p>When I run my driver class <code>BookStore.java</code>, it does not catch the above errors that I have done through exceptions. 
  Here is the same question That I wanted to ask</p>
  
  <p><a href="https://stackoverflow.com/questions/29938646/java-custom-exception-handling-with-object-and-driver-class">link</a></p>
  
  <p>Seems my bookstore is not taking the exceptions on my book program</p>
  
  <p>Doing the set commands does not work and errors out and using the default one does not show the exceptions that I wanted to from my book program</p>