Search:

Type: Posts; User: Allicat

Search: Search took 0.10 seconds.

  1. Replies
    3
    Views
    1,298

    Re: What is Wrong With My Exception Class Code?

    What's the "CreateException class" ?? Mainly it does not read the quotes and says I should have semicolons in places that seem strange to have them in.
  2. Replies
    3
    Views
    1,298

    What is Wrong With My Exception Class Code?

    This is what I have so far:

    class Customer{
    private String name;
    private int age;
    public Customer(String n, int a)throws CreateException{
    if(0<a<125){
    Name=n;
    Age=a;
    throw new...
Results 1 to 2 of 2