Hellboyandso

UnknownCustomerException.java

Dec 15th, 2016
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.25 KB | None | 0 0
  1. package domain;
  2.  
  3. public class UnknownCustomerException extends Exception {
  4.  
  5.     private String custNbr;
  6.  
  7.     public UnknownCustomerException(String custNbr) {
  8.         super("Unknown customer: "+custNbr);
  9.         this.custNbr = custNbr;
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment