ValgrisFate / exampleHotel

Exception classes must be named appropriately JAVA-W1000
Anti-pattern
Minor
1 occurrence in this check
NotAvailable is an Exception but is not named appropriately
 70        this.gender2=gender2;
 71    }
 72}
 73class NotAvailable extends Exception 74{ 75    @Override 76    public String toString() 77    { 78        return "Not Available !"; 79    } 80} 81
 82class holder implements Serializable
 83{