Search:

Type: Posts; User: _lithium_

Search: Search took 0.14 seconds.

  1. Replies
    12
    Views
    2,436

    Re: issues with Class

    Thank you so much, I actually fixed the constructor after posting all that code and have it set to what it is supposed to be. Thank you for alllllll the help! It works now!
  2. Replies
    12
    Views
    2,436

    Re: issues with Class

    Yeah, its says to create a null constructor which im still lost at how to do, This is the books requirements:

    2. Create a class named NoSuchCustomerException.java. Without this already in...
  3. Replies
    12
    Views
    2,436

    Re: issues with Class

    EDIT:::

    Thank you for your help! I believe I've got, it has compiled with no errors this is what I did:

    public class NoSuchCustomerException extends Exception {

    private String...
  4. Replies
    12
    Views
    2,436

    Re: issues with Class

    I'm still a bit confused on it, how would I fix this then?
    public class NoSuchCustomerException extends Exception {
    private String customerNumber;

    public void Constructor(){
    }

    public String...
  5. Replies
    12
    Views
    2,436

    Re: issues with Class

    public String notFound(String customerNumber){
    super(" The customer number " + customerNumber.toUpperCase() + " does not exist");
    }

    I tried to use the super() and it keeps saying this:
    ...
  6. Replies
    12
    Views
    2,436

    Re: issues with Class

    So when it says to pass the string to the parent class, just put the message inside super(...) ? My second question was about:
    2.) Assign the customerNumber value received and initialize the...
  7. Replies
    12
    Views
    2,436

    issues with Class

    Ok so this is the stuff I am working on right now:
    2. Create a class named NoSuchCustomerException.java. Without this already in place, you will not be able to compile your CustomerIO class....
Results 1 to 7 of 7