While constructing the default constructor can not handle exception : type Exception thrown by implicit super constructor

Default constructor implicitly invokes super constructor which is assumed to be throwing some exception which you need to handle in sub class’s constructor . for detailed answer post the code

class Base{

  public Base() throw SomeException{
    //some code
  }

}

class Child extends Base{
  public Child(){
   //here it implicitly invokes `Base()`, So handle it here
  }
}

Leave a Comment