Search:

Type: Posts; User: JavaOwl

Search: Search took 0.15 seconds.

  1. Re: public void method() throws SomeException;

    I still need to include the codes in the body to handle the exception either
    if (precondition) { throw new SomeException();}
    or
    try/catch block
    right?

    if that's the case, why do I need...
  2. public void method() throws SomeException;

    I need to write the implementation for the following interface. I noticed that "throws SomeException" are marked in the method declaration header. Does it mean I must specify the particular...
  3. interface - public void method() throws SomeException;

    I need to write the implementation for the following interface. I noticed that "throws SomeException" are marked in the method declaration header. Does it mean I must specify the particular...
Results 1 to 3 of 3